Return to GUI after Running Data
显示 更早的评论
When I am running my GUI, I get all of the files and data selected and then press plot. It plots the data but closes the GUI so I have to redo it every time. Is there a way to make a code that keeps the GUI open so that I can just edit the data if I want to make different plots without having to redo the GUI every time?
采纳的回答
更多回答(1 个)
Rishabh
2025-4-29
0 个投票
figure(app.UIFigure);
just add this after everything into your button pushed callback
类别
在 帮助中心 和 File Exchange 中查找有关 Creating, Deleting, and Querying Graphics Objects 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!