This example shows how to partition a data dictionary into reference dictionaries that can be shared in a team.
|On this page…|
Open dictionary for partitioning
Open the Model Explorer. In the Simulink® Editor, select View > Model Explorer.
Click File > Open.
Browse and locate your dictionary.
Create reference dictionary
Use a reference dictionary to store a subset of entries from the main dictionary.
Click File > New > Data Dictionary.
Name the reference dictionary and save it.
Both dictionaries appear as nodes in the Model Hierarchy pane.
In the Model Hierarchy pane, select the dictionary that serves as the parent.
In the dialog box pane, click Add Reference in the Referenced Dictionaries section. Browse to the location of the reference dictionary and add it as a reference.
Move entries into reference dictionary
In the Model Hierarchy pane, select Global Design Data node of the parent dictionary.
In the Contents pane, select the entries you want to move to the reference dictionary.
For one of the selected entries, set DataSource to the reference dictionary using the dropdown menu. You can also drag and drop entries between dictionaries.