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

11 visualizaciones (últimos 30 días)
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?

Respuesta aceptada

Quan Tao
Quan Tao el 2 de Ag. de 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.

Más respuestas (0)

Categorías

Más información sobre Manage Design Data en Help Center y File Exchange.

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by