is it possible to move first GUI figure to center of window?
조회 수: 1 (최근 30일)
이전 댓글 표시
What syntax should I add in the first .m so that I can display the .fig file in the center of window. Thank you very much, I have attached the .m file and .fig file together with the background image.
댓글 수: 0
답변 (1개)
Luna
2018년 12월 5일
Hi,
Change the lines 39-44 like below:
if nargout
[varargout{1:nargout}] = gui_mainfcn(gui_State, varargin{:});
else
figHandle = gui_mainfcn(gui_State, varargin{:});
movegui(figHandle,'center');
end
% End initialization code - DO NOT EDIT
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Printing and Saving에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!