dispdlg.m

来自「matlab源代码」· M 代码 · 共 19 行

M
19
字号
function dispdlg(txt)
% Generalization of disp function; text is written to screen if 
% S4M.interactive  == 0 and written to a dialog box if S4M.interactive  == 1
% Written by: E. R.: April 20, 2004
% Last updated:
%
%          dispdlg(txt)
% INPUT
% txt      Text to display
%
global S4M
  
if S4M.interactive
   msgdlg(txt)
else
   disp(txt)
end

⌨️ 快捷键说明

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