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

10 visualizzazioni (ultimi 30 giorni)
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?

Risposta accettata

Quan Tao
Quan Tao il 2 Ago 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.

Più risposte (0)

Categorie

Scopri di più su Manage Design Data in Help Center e File Exchange

Prodotti

Community Treasure Hunt

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

Start Hunting!

Translated by