How to use the live debug tools of simulink (e.g. show value) within intances of a referenced model?
2 ビュー (過去 30 日間)
古いコメントを表示
I recognized in Matlab 2022A, that the live tools for debugging like "show value" or the highlighted blue state in stateflow, is not as expected. There is a Warning comming up on the top of the Simulink window "This instance of the referenced model does not support all data visualizations. Scopes and port value labels display data for only the instance that has normal mode visibility enabled." By clicking the link inside the warning, I jump into the related instance the values are comming from.
So is this a question of Simulink settings? Is there any workaround (beside using data inspector), to use this wonderful "show value" feature also in several instances of a referenced model?
0 件のコメント
回答 (1 件)
Ayush Anand
2023 年 9 月 4 日
編集済み: Ayush Anand
2023 年 9 月 18 日
Hi Thorsten,
The warning message you encountered in MATLAB r2022a regarding the limited support for data visualizations in referenced models is not a Simulink setting issue. It is a limitation of the current version of Simulink, and it affects the "show value" feature and other live debugging tools when working with multiple instances of a referenced model.
As mentioned in the warning message, the data visualizations, such as scopes and port value labels, only display data for the instance that has normal mode visibility enabled. This means that the live tools will only show values for the active instance of the referenced model.
At the moment, there is no direct workaround within Simulink to use the "show value" feature simultaneously in multiple instances of a referenced model. The issue has already been brought into attention and the MathWorks technical team will be looking into it.
I hope this helps!
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Model References についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!