Configure Board Parameters and Enable MAT-File Logging
To save signals on the hardware, the hardware details must be specified, and the MAT-file logging option must be selected.
In your model window, open the Configuration Parameters dialog box, go to the Hardware Implementation pane, and select the name of the hardware from the Hardware board list.
In the Hardware board settings pane, expand Target hardware resources and select Board Parameters. Specify these parameter values:
Device Address: The IP address or host name of the hardware.
Username: Specify the user name of the Linux® system running on the hardware.
Password: Specify the root password of the Linux system running on the hardware.
Select Build options, and specify the location where you want to save the MAT-files in the Build directory parameter.
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 Apply. Click OK to save your changes.