- 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
7 ビュー (過去 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!