Enable MAT-File Logging
To save signals on an SD card, the MAT-file logging option must be selected. Perform these steps, to enable MAT-file logging:
In your model window, open the Configuration Parameters dialog box, go to the Hardware Implementation pane, and select the name of the target hardware from the Hardware board list.
In the Configuration Parameters dialog box, go to Code Generation > Interface and expand Advanced parameters, or type
MAT-file logging
in the search box.Select the MAT-file logging option.
From the MAT-file variable name modifier list, select an option to add
rt_
as prefix or_rt
as suffix to the variable name in the MAT-file. To use a variable name without any modification, selectnone
.Click OK to save your changes.