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.

  1. 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.

  2. In the Hardware board settings pane, expand Target hardware resources and select Board Parameters. Specify these parameter values:

    1. Device Address: The IP address or host name of the hardware.

    2. Username: Specify the user name of the Linux® system running on the hardware.

    3. Password: Specify the root password of the Linux system running on the hardware.

  3. Select Build options, and specify the location where you want to save the MAT-files in the Build directory parameter.

  4. In the Configuration Parameters dialog box, go to Code Generation > Interface and expand Advanced parameters, or type MAT-file logging in the search box.

  5. Select the MAT-file logging option.

  6. 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, select none.

  7. Click Apply. Click OK to save your changes.