Documentation Center

  • Trial Software
  • Product Updates

Contents

Run Model on Arduino Hardware

You can prepare, configure, and run a model on your Arduino® hardware.

Before starting this procedure:

  • Connect your Arduino hardware to the host computer using a USB cable.

  • Create or open a Simulink® model.

To prepare and run the model:

  1. Use File > Save As to create a working copy of your model. Keep the original model as a backup copy.

  2. In your model, select Tools > Run on Target Hardware > Prepare to Run. This action changes the model Configuration Parameters.

  3. When the Run on Target Hardware pane opens, set the Target hardware parameter to the specific board you are using.

  4. Click the Deploy to Hardware button.

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

Was this topic helpful?