how ot stop Matlab figure from maximizing?

5 vues (au cours des 30 derniers jours)
Adnan Ali
Adnan Ali le 21 Août 2014
When code is executed. Matlab figure is showed. I want to disable it Maximize Function. So my figure remain same as in 1st time run.

Réponse acceptée

Salaheddin Hosseinzadeh
Salaheddin Hosseinzadeh le 21 Août 2014
Modifié(e) : Salaheddin Hosseinzadeh le 21 Août 2014
Hi Adnan,
It's simple just create your figure as follow
h = figure('Resize','off')
or if the figure is generated use gcf
set(gcf,'Resize','off') % or on to enable resizing
More adjustments and info is also available in matlab documentation, about figure and figure properties.
doc figure
Good Luck!

Plus de réponses (0)

Catégories

En savoir plus sur Interactive Control and Callbacks dans Help Center et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by