Run Model on PandaBoard Hardware

This example shows how to prepare, configure, and run a simple model on your PandaBoard hardware.

Before starting this procedure:


  • Create or open a Simulink® model.

To prepare and run the model:



  3. In the Run on Target Hardware pane that opens, set the Target hardware parameter to PandaBoard.


  5. Click the Deploy to Hardware button.

    This action automatically downloads and runs your model on the board.

      Note:   Pressing RESET or cycling the power on the PandaBoard hardware during this step can cause the ssh utility to hang.


Running a new or updated model on the board:

  • Automatically stops a running model with the same name.

  • Does not stop running models that have other names.

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


For example, to stop the sumdiff model, enter:


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


    Note:   You do not need to enter h=panda; 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?