Plotting using s function

1 回表示 (過去 30 日間)
Brindha Chelliah
Brindha Chelliah 2018 年 1 月 29 日
回答済み: Birdman 2018 年 1 月 29 日
Is it possible to plot two signals as x vs y graph in simulink, using s function or is there any other way other than the graph tool?
  8 件のコメント
Birdman
Birdman 2018 年 1 月 29 日
Two questions:
-What do you mean by it keep disappearing?
-Is it normal for you that your simulations runs so slow?
Brindha Chelliah
Brindha Chelliah 2018 年 1 月 29 日
The plot just disappears after sometime. No the simulations are not that slow.

サインインしてコメントする。

採用された回答

Birdman
Birdman 2018 年 1 月 29 日
After our discussion above, I am suggesting a different approach for xy plotting. It is much more efficient than it is in your model. I just save the data in structure format by using To Workspace block and by typing a single line of code in File->Model Properties->Callbacks->StopFcn, when the simulation is over, it automatically plots what you want. Just run the simulation and see the results. Hope this helps.

その他の回答 (0 件)

カテゴリ

Help Center および File Exchange2-D and 3-D Plots についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by