In my GUI, there is one pushbutton which when pressed displays a graph. I want to display a message in the GUI indicating "Plotting the graph....." and when it has plotted the graph, the message should be displayed as " Graph has been plotted". How to do it?

 採用された回答

Simon Chan
Simon Chan 2022 年 7 月 4 日

0 投票

Use function uiprogressdlg or uialert

その他の回答 (1 件)

Image Analyst
Image Analyst 2022 年 7 月 4 日

0 投票

You could have a static text label on the GUI and then set its string or text property
app.txtStatus.String = "Plotting the graph.....";
drawnow; % Force immediate update.

カテゴリ

ヘルプ センター および File ExchangeGraph and Network Algorithms についてさらに検索

質問済み:

2022 年 7 月 4 日

回答済み:

2022 年 7 月 4 日

Community Treasure Hunt

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

Start Hunting!

Translated by