Clear Filters
Clear Filters

Ui Matlab Graphic Update

1 view (last 30 days)
Marco Maccotta
Marco Maccotta on 9 Jun 2017
Answered: Arnav Mendiratta on 13 Jun 2017
Hi everyone, I'd like to ask you a question about GUi. I want to plot the output of my model in simulink while it is running. I tried to use a plot with data saved and taken from workspace; but due to the fact that I need to change some value of my model during simulation, I'd like to view my output online, like with a scope in simulink. Do you know if it is possible in some way? Thanks everybody.

Accepted Answer

Arnav Mendiratta
Arnav Mendiratta on 13 Jun 2017
If you have your logged Simulink data in workspace, you can only "plot" it (from MATLAB) after the simulation has completed. There is no way that you can plot the data while the Simulation is running and you are tuning the parameters. That is why Simulink has 'Scopes' - to view this data in real time.
You can consider alternate data logging techniques mentioned in the documentation here:

More Answers (0)


Find more on Migrate GUIDE Apps in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!