Return to GUI after Running Data
Show older comments
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?
Accepted Answer
More Answers (1)
Rishabh
on 29 Apr 2025
0 votes
figure(app.UIFigure);
just add this after everything into your button pushed callback
Categories
Find more on Creating, Deleting, and Querying Graphics Objects in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!