matlab环境里想让程序初始运行时就让(GUI设计出的)窗口最大化,系统自动生成的代码应怎么 改写?
matlab环境里想让程序初始运行时就让(GUI设计出的)窗口最大化,类似“set(gcf,'outerposition',get(0,'screensize'));”的...
matlab环境里想让程序初始运行时就让(GUI设计出的)窗口最大化,类似“set(gcf,'outerposition', get(0,'screensize')); ”的代码应怎么写,放在下面系统生成的代码何处?还是其它写法?
% Begin initialization code - DO NOT EDIT
gui_Singleton = 1;
gui_State = struct('gui_Name', mfilename, ...
'gui_Singleton', gui_Singleton, ...
'gui_OpeningFcn', @LineDrawing_OpeningFcn, ...
'gui_OutputFcn', @LineDrawing_OutputFcn, ...
'gui_LayoutFcn', [] , ...
'gui_Callback', []);
if nargin & isstr(varargin{1})
gui_State.gui_Callback = str2func(varargin{1});
end
if nargout
[varargout{1:nargout}] = gui_mainfcn(gui_State, varargin{:});
else
gui_mainfcn(gui_State, varargin{:});
end
% End initialization code - DO NOT EDIT 展开
% Begin initialization code - DO NOT EDIT
gui_Singleton = 1;
gui_State = struct('gui_Name', mfilename, ...
'gui_Singleton', gui_Singleton, ...
'gui_OpeningFcn', @LineDrawing_OpeningFcn, ...
'gui_OutputFcn', @LineDrawing_OutputFcn, ...
'gui_LayoutFcn', [] , ...
'gui_Callback', []);
if nargin & isstr(varargin{1})
gui_State.gui_Callback = str2func(varargin{1});
end
if nargout
[varargout{1:nargout}] = gui_mainfcn(gui_State, varargin{:});
else
gui_mainfcn(gui_State, varargin{:});
end
% End initialization code - DO NOT EDIT 展开
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询