How can I maximize programmatically a figure that is minimized
12 次查看(过去 30 天)
显示 更早的评论
When I execute this code the interface get minimized and I can't see it if I not click on it:
[videoName, directory]=uigetfile({'*.*','All files'});
I need to show the figure after this. I try shg but did not work because opened a new figure.
0 个评论
回答(1 个)
Jemima Pulipati
2020-12-22
Hello,
From my understanding, you want to maximize a figure without using the mouse pointer.
Starting from R2018a, you may use the ‘WindowState’ figure property to maximise the figure window. This property value can be set to ‘maximized’ while creating a figure.
For any previous versions prior to R2018a, you may set the ‘Position’ property of the figure.
Some of the answers from the community which might be of relevance to you are:
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!