How can I synchronize the update of a scope plot with the time T in the model explorer of a multi-body simulation?
3 views (last 30 days)
Show older comments
Hello,
I created a simscape multibody simulation. In the model explorer I can see my mechanical system run successfully. Now I added some scopes, to watch some parameters over time. The problem I have now is, that the scope is redrawing the graph with the compilation time but not with the time of the current state (named T in the the model explorer) the animation is. So the diagram in the scope is already drawn when the animation is still running. This is not what I want. I would like to have a "live update", i.e. the update of the scope synchronized with the time T in the model explorer. Is this possible?
0 Comments
Answers (1)
Rishi Binda
on 6 Sep 2018
Set the Sample time of the scope block in the Configuration Properties of the scope. It specifies time interval between updates of the scope display. This property does not apply to floating scopes and scope viewers.
See Also
Categories
Find more on Simulation and Analysis in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!