Setting the default figure size in Matlab once.

107 次查看(过去 30 天)
Shown below is the command I use to set the default figure position in Matlab.
set(groot,'defaultfigureposition',[400 250 900 750])
However as soon as I quit matlab and restart I must set the property again. I there a way to set this property in matlab so it always stays at the set values? forever?

采纳的回答

Jan
Jan 2018-3-2
编辑:Jan 2018-3-2
Simply insert this line in your startup.m file. If you do not have such a file, create it.

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Creating, Deleting, and Querying Graphics Objects 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by