Time Scope Configuration in Simulink
Mostrar comentarios más antiguos
Hey guys,
I am using simulink to do a real-time signal acqusition assignment now. And I found block "time scope" in signal processing blockset is very intuitive for signal display rather than default scope. However, I found is hard to call parameters in this block when I try to run a script to actually change setting during the simulation. Perhaps it's some kind "locked" block? Does anyone has some comments?
Sun Tao
Respuestas (2)
Jason
el 23 de Feb. de 2012
1 voto
All of these parameters are tunable via the scope window, however, there are no block parameters for them at this time.
You may be able to work around this issue by setting the line properties and resaving the model. The new line properties will be remembered when you rerun your model.
1 comentario
Sun
el 24 de Feb. de 2012
Kaustubha Govind
el 23 de Feb. de 2012
0 votos
It's not clear which parameters on the block you are attempting to modify - perhaps you can tell us exactly what you're changing? Blocks have two types of parameters - tunable and non-tunable. Only tunable parameters can be changed during simulation.
3 comentarios
Sun
el 23 de Feb. de 2012
Kaustubha Govind
el 23 de Feb. de 2012
It looks like you can change this setting during simulation. I just tried an example where the simulation runs to Infinity, and I can see a change in the signal color, when I change it using this setting during simulation. I'm not sure that there is a command-line way of doing this, because the Time Scope does not expose such an API. How do you attempt to do it in your script?
Sun
el 24 de Feb. de 2012
Categorías
Más información sobre Scopes and Data Logging en Centro de ayuda y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!