MATLAB: Simulink and guide interface

guidesimulink

Hi, everyone. I want to know how i do a interface with guide and simulink. well i want to watch in a interface a graphic of a block output (like a scope), and 3 values of another blocks. I know how i can run an stop the simulink and i saw a document were they change parameters of blocks, but i just want to watch. thank you for your answers..

Best Answer

You can save the simulation data to base workspace using To Wokspace block and plot it using matlab command after simulation is completed.
----OR----
You can plot the simulink data at run time when simulation is running using event listener.
Go through this similar post for links to detailed help and examples.