How to display internal signals in a Simulink Model?
6 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
I have a hierarchical design which has 6 levels and uses model referencing.When i simulate from the top level, the scopes in the internal models are not getting populated with the data. Is there a way in which i can display the internal signals in the referenced models without bringing them out?
2 comentarios
Kaustubha Govind
el 10 de Jul. de 2013
Is the Model reference block running in Accelerator mode? I would guess that if you changed it to Normal mode, the scopes will be populated.
Respuesta aceptada
Kaustubha Govind
el 17 de Jul. de 2013
I don't think the Scopes actually run when the model is running in Accelerated mode, because Simulink generates a C-MEX S-function for the model for run-time execution, and Scopes are not part of that S-function AFAIK. I think you need to configure the internal signals for logging if you'd like to examine them. For example, you could configure Test Points on the signals of interest.
0 comentarios
Más respuestas (0)
Ver también
Categorías
Más información sobre Simulink Coder 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!