How to stop popping up of plot figures unnecessarily in Matlab app designer?
17 views (last 30 days)
Show older comments
My GUI desgned on MATLAB app designer is working perfectly. However, at one stage it is popping out a separate figure which should not appear.
How I can stop that plot figure from popping out?
0 Comments
Accepted Answer
More Answers (1)
Kevin Holly
on 9 Mar 2023
If it is due to a plot function, you need to define the uiaxes for the plot. such as:
plot(app.UIAxes,x,y)
6 Comments
Kevin Holly
on 9 Mar 2023
There is no need to draw the plot if you are not using it. Unless you want to save the figure without displaying it. Could speed up your program by commenting it out.
See Also
Categories
Find more on Develop Apps Using App Designer 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!