How to use the live debug tools of simulink (e.g. show value) within intances of a referenced model?
8 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
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 comentarios
Respuestas (1)
Ayush Anand
el 4 de Sept. de 2023
Editada: Ayush Anand
el 18 de Sept. de 2023
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 comentarios
Ver también
Categorías
Más información sobre Simulink Functions en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!