how ot stop Matlab figure from maximizing?

조회 수: 6 (최근 30일)
Adnan Ali
Adnan Ali 2014년 8월 21일
편집: Salaheddin Hosseinzadeh 2014년 8월 21일
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.

채택된 답변

Salaheddin Hosseinzadeh
Salaheddin Hosseinzadeh 2014년 8월 21일
편집: Salaheddin Hosseinzadeh 2014년 8월 21일
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!

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Interactive Control and Callbacks에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by