How to define which objects from data dictionary are used in the model which linked on that data dictionary?
10 views (last 30 days)
Show older comments
Hi, I have a data dictionary with a lot of buses and enums much of them is not using in model any more. How to identify which objects are not used?
0 Comments
Accepted Answer
Quan Tao
on 2 Aug 2017
If a model has its design data defined in a data dictionary, you can click on the icon in the lower-left corner of the model window to open the data dictionary in the Model Explorer. And you can see Design Data under the data dictionary inside the Model Hierarchy pane.
To identify which objects from the data dictionary are not used by the model, right-click Design Data and select Find Unused Variables. You will be asked to Update diagram. After that, the Model Explorer displays unused objects from the data dictionary.
Please refer the documentation page on Finding Unused Workspace Variables to learn more about the aforementioned steps.
To learn more about using data dictionaries in Simulink models, please refer to the example model on Using a Data Dictionary to Manage the Data for a Fuel Control System.
0 Comments
More Answers (0)
See Also
Categories
Find more on Manage Design Data in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!