Import Design Data from File

This example shows how to import model design data from a file into the data dictionary.

  1. In the Simulink® Editor, select View > Model Explorer to open the Model Explorer.

  2. Click File > Open. Then browse to an existing dictionary.

  3. In the Model Hierarchy pane, right-click the dictionary node and select Import from File. Then browse to and select the MAT-file that contains the data to be imported.

    Design data from the MAT-file populate the dictionary. Design data appear with DataSource set to the name of the dictionary.

    If you import from the same MAT-file again, Simulink only imports changed or new entries into the dictionary.

Related Examples

More About

Was this topic helpful?