Documentation Center

  • Trials
  • Product Updates


Stop or Restart a Model Running on Raspberry Pi Hardware

    Caution   Do not use the RESET button to stop a running model and reboot the board. Doing so can corrupt operating system and program files. To repair corrupt files, replace the firmware as described in Replace Firmware on Raspberry Pi Hardware.

To stop a model running on the board, in the MATLAB® Command Window, enter:


For example, to stop the sumdiff model, enter:


To restart a model that was previously running on the board or run multiple instances of a model, in the MATLAB Command Window, enter:


    Note:   You do not need to enter h=raspberrypi; multiple times if a previous instance of h is available in the MATLAB Workspace.

For example, to restart the sumdiff model you stopped in the previous example, enter:'sumdiff');
Was this topic helpful?