How to plot axes on GUI using results obtained from simulink?

I want to plot axes using the data obtained from the simulation on a GUI interface whenever I press the push button. I use the 'Sink Block Parameter: To workspace' to get the simulation results. Is that the correct method to get the data? I don't know how to write the required codes in m-script. Someone explain me, Please!

답변 (1개)

noman shah
noman shah 2015년 7월 15일

0 개 추천

after doing the things you mentioned above, look for the new variables in your work space, let say a new variable tout appears use command "plot (tout)" for the graph with axes you are looking for. :-)

카테고리

도움말 센터File Exchange에서 Creating, Deleting, and Querying Graphics Objects에 대해 자세히 알아보기

질문:

2015년 7월 15일

편집:

2015년 7월 16일

Community Treasure Hunt

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

Start Hunting!

Translated by