Ui Matlab Graphic Update

1 回表示 (過去 30 日間)
Marco Maccotta
Marco Maccotta 2017 年 6 月 9 日
回答済み: Arnav Mendiratta 2017 年 6 月 13 日
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 Center および File ExchangeEvent Functions についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by