Displaying message in GUI
2 次查看(过去 30 天)
显示 更早的评论
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?
0 个评论
采纳的回答
更多回答(1 个)
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.
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Interactive Control and Callbacks 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!