Ui Matlab Graphic Update

1 次查看(过去 30 天)
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.

采纳的回答

Arnav Mendiratta
Arnav Mendiratta 2017-6-13
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:
https://www.mathworks.com/help/simulink/export-runtime-information.html

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Event Functions 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by