window.m

来自「为了下载东西」· M 代码 · 共 20 行

M
20
字号
%
%  Syntax:  h = window(strCaption,strMenubar)
%
%  Inputs:  strCaption is a string containing the caption for the new window.  
%           strMenubar is a string that contains either 'figure' or 'none'.
%
%  Result:  h is a handle to a new figure window, titled strCaption.  
%           If strMenubar = 'figure', default figure window menus are displayed.
%           If strMenubar = 'none', no menu is displayed.
%
%           Petur Snaeland, 25.04.1995
%
function [hFigure] = window(strCaption,strMenubar)

hFigure = figure( ...
        	 'NumberTitle','off', ...
          'MenuBar',strMenubar, ...
          'Name',strCaption );

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?