How to display a graph from a specific time in Simulink?
이전 댓글 표시
Hey there!
I have a question on how to show a scope in Simulink from a specific time, for example; In the attached graph I would like to show the graph from 0.3 seconds, I thought I could solve it with the offset parameter of the display, but this does not do what I want, it only moves the graph and it starts in 0.3 seconds, but the start is still shown of the graph which is precisely what I do not want to graph.

If anyone could help me, I thanks in advance.
답변 (1개)
Aashray
2025년 6월 19일
0 개 추천
I faced a similar issue once, and after some experimentation, I found that we can use Enabled Subsystem. Here is how I built the system:
- Add a Clock block to track simulation time.
- Use a “Compare To Constant” block (>= 0.3) to generate an enable signal once time reaches 0.3 seconds.
- Feed this enable signal into the Enable port of an Enabled Subsystem.
- Inside the Enabled Subsystem, keep the desired system.
- Connect the original signal to the input of the Enabled Subsystem.
I have attached the model I made for your reference.


카테고리
도움말 센터 및 File Exchange에서 Schedule Model Components에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!