- Put the Scope block inside an Enabled Subsystem.
- Use the Digital Clock block to get the simulation time
- Use Relational Operator block to compare the simulation time with your threshold values '20' and '35'
- Use a Logical Operator block set to 'AND' to result a signal which is TRUE when the simulation time is in between '20' and '35'
- Use this Boolean signal to enable the Enabled Subsystem
Just want to display the scope's parameters for a period not from 0
조회 수: 2 (최근 30일)
이전 댓글 표시
Currently my simulation time is between 0-50s but I just want to get parameters like RMS or overshoot between 20-35s and 35s-50s. I tried changing the time-span and time-offset in the View tab but the graph shows completely wrong and the result is also wrong. Hope you guys can help me!
댓글 수: 0
채택된 답변
Jonas
2021년 6월 30일
When simulating, the Scope block will be blank (no data) outside the simulation times when the signal to the enabler of the Enabled Subsystem is false.
댓글 수: 4
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Event Functions에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!