Run Model on the Hardware

Simulink® deploys code and logs signals on the hardware as MAT-files.

To deploy the code on the hardware, in the model window, click the Build Model button. The lower left corner of the model window displays status while Simulink prepares, downloads, and runs the model on the hardware. Wait for the logging to stop.

Note

After the Simulation stop time elapses, the logging of signal stops. However, the model continues to run. For example, if the Simulation 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 Simulation stop time parameter is specified as Inf, the logging continues until the SD card memory in the hardware is full, or you power off the hardware.