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, in the Hardware tab of the toolstrip, clickBuild, Deploy & Start button. 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.
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
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.