How to define which objects from data dictionary are used in the model which linked on that data dictionary?

10 次查看(过去 30 天)
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?

采纳的回答

Quan Tao
Quan Tao 2017-8-2
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 个)

类别

Help CenterFile Exchange 中查找有关 Manage Design Data 的更多信息

产品

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by