How can I maximize programmatically a figure that is minimized

11 Ansichten (letzte 30 Tage)
GDelga
GDelga am 10 Feb. 2020
Beantwortet: Jemima Pulipati am 22 Dez. 2020
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.

Antworten (1)

Jemima Pulipati
Jemima Pulipati am 22 Dez. 2020
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:

Kategorien

Mehr zu Interactive Control and Callbacks finden Sie in Help Center und File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by