Plotting using s function

조회 수: 3 (최근 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 CenterFile Exchange에서 2-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