Displaying message in GUI

3 visualizzazioni (ultimi 30 giorni)
Sush Gautam
Sush Gautam il 4 Lug 2022
Risposto: Image Analyst il 4 Lug 2022
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?

Risposta accettata

Simon Chan
Simon Chan il 4 Lug 2022
Use function uiprogressdlg or uialert

Più risposte (1)

Image Analyst
Image Analyst il 4 Lug 2022
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.

Categorie

Scopri di più su Interactive Control and Callbacks in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by