Display results in GUI and real time

1 回表示 (過去 30 日間)
Hao Shi
Hao Shi 2018 年 6 月 25 日
コメント済み: Dongyan Zhu 2020 年 1 月 17 日
Hello everyone, I got some data from Matlab and plotted some figures to show the relationships between some parameters and the results, for example, if I change some parameters, the results and the figures would also change. However, I want to build a GUI for this model, which could display the results in real time (step by step), and when I change some parameters in GUI, the results curves would also change accordingly and then converge at another value. Could I achieve this in Matlab? I will appreciate your any help.
  2 件のコメント
mohan khedkar
mohan khedkar 2019 年 11 月 18 日
@Hao Shi sir,have you solve your problem?Because i am facing the same problem.
Dongyan Zhu
Dongyan Zhu 2020 年 1 月 17 日
Me2...

サインインしてコメントする。

回答 (1 件)

ES
ES 2018 年 6 月 25 日
Completely possible.
https://in.mathworks.com/matlabcentral/fileexchange/24861-41-complete-gui-examples is a great staring point.
  3 件のコメント
Adam
Adam 2018 年 6 月 25 日
Plots will do what you tell them to. If you put in code in a slider callback that tells it to update a plot then it will do.
Beware though that replotting many times is very inefficient. Rather you should plot once and then update e.g the XData and YData properties of the existing plot (and axes properties such as XLim, YLim as appropriate) for more responsive updates.
mohan khedkar
mohan khedkar 2019 年 11 月 18 日
編集済み: mohan khedkar 2019 年 11 月 18 日
Hello Adam sir,I have the same problem to plot real time data in GUI.Can you please elaborate your answer,it will be very useful for me.so,please.

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeAnnotations についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by