Main Content

Run Model on Target Hardware

Simulink® deploys code and logs signals on an SD card. These signals are saved as MAT-files on the target hardware.

To deploy the code on the target hardware, on the Hardware tab of the toolstrip, in the Mode section, select Run on board, and then click Build, Deploy & Start. The lower left corner of the model window displays status while Simulink prepares, downloads, and runs the model on the target hardware. Wait for the logging to stop.

Note

After the Stop time elapses, the logging of signal stops. However, the model continues to run. For example, if the Stop time parameter is specified as 10.0 seconds, the logging stops after 10.0 seconds. However, the model continues to run for an indefinite time. If the Stop time parameter is specified as Inf, the logging continues until the SD card memory is full, or you remove the SD card from the target hardware.