Displaying message in GUI

조회 수: 2 (최근 30일)
Sush Gautam
Sush Gautam 2022년 7월 4일
답변: Image Analyst 2022년 7월 4일
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일
Use function uiprogressdlg or uialert

추가 답변 (1개)

Image Analyst
Image Analyst 2022년 7월 4일
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.

카테고리

Help CenterFile Exchange에서 Interactive Control and Callbacks에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by