How can I synchronize the update of a scope plot with the time T in the model explorer of a multi-body simulation?
조회 수: 3 (최근 30일)
이전 댓글 표시
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
답변 (1개)
Rishi Binda
2018년 9월 6일
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.
참고 항목
카테고리
Help Center 및 File Exchange에서 Simulation and Analysis에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!