How to define which objects from data dictionary are used in the model which linked on that data dictionary?
11 ビュー (過去 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?
0 件のコメント
採用された回答
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 件のコメント
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Manage Design Data についてさらに検索
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!