Link two models that are part of a model reference hierarchy to separate data dictionaries. Then link the top model to its own data dictionary. Finally, create a dictionary hierarchy in which the dictionary linked to the top model is the parent dictionary.
Open the model
which is part of a model reference hierarchy whose top model is
In the Simulink® Editor, click File > Model Properties > Link to Data Dictionary.
In the Model Properties dialog box, set Defined in to Data Dictionary and click New to create a data dictionary.
Name the data dictionary
save it, and click Apply.
Click Yes in response to the message that explains how Simulink migrates design data stored in the base workspace.
A message appears, reporting the number of items imported to the data dictionary.
Similarly, open the model
which is also part of a model reference hierarchy whose top model
sldemo_fuelsys_dd. Then link this model to a
new data dictionary called
Open the top model
and link it to a data dictionary called
This dictionary serves as the parent dictionary
Open the data dictionaries linked to these three models by clicking the data dictionary badge in the bottom left corner of each model.
This dictionaries appear in Model Hierarchy pane of the Model Explorer.
Select the sldemo_fuelsys_dd node, and click Add Reference in the dialog pane. Browse to locate the two dictionaries created for the referenced models and add them as references to the parent dictionary.
Entries from all referenced dictionaries appear in the parent dictionary as well.