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

1 visualización (últimos 30 días)
Banyar Maung
Banyar Maung el 15 de Jul. de 2015
Editada: Banyar Maung el 16 de Jul. de 2015
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!

Respuestas (1)

noman shah
noman shah el 15 de Jul. de 2015
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. :-)

Categorías

Más información sobre General Applications en Help Center y File Exchange.

Etiquetas

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by