- First you need to Identify and select the signals in your model that you want to analyze.
- Log those signals using “Log signals” in the tool strip.
- Run the model and open the data inspector.
How to plot two signals in Simulink
조회 수: 11 (최근 30일)
이전 댓글 표시
Hello to all,
I would like to plot two signals at the same time in Simulink. The same behaviour that XY Graph but with twoi signals.
So I have two signals which in each step they have; X1 Y1, X2 Y2. So I would like to plot those two signals in the same graph when I run simulink.
Is it posible?
Thanks a lot
댓글 수: 0
답변 (1개)
Yukthi S
2024년 4월 19일
편집: Yukthi S
2024년 4월 22일
Hi Alvaro
You can plot multiple signals within the same plot using “Simulation Data Inspector” available in Simulink. To achieve this:
The same process is clearly explained in the below documented example:
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Sources에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!