display.m

来自「这是一个关于MATLAB的函数」· M 代码 · 共 30 行

M
30 行
字号
function dummy = display(r)
%DISPLAY Display an RDTX(tm) object.
%   DISPLAY(R) displays an RTDX object by calling DISP, which formats the 
%   channel properties of the object R.

% Copyright 2001-2002 The MathWorks, Inc.
% $Revision: 1.14 $ $Date: 2002/06/12 15:30:21 $

% Suppress 'ans' display (UDD limitation, for now)
if 0,
    name = inputname(1);
    if isempty(name)
        name = 'ans';
    end
end

isloose = strcmp(get(0,'FormatSpacing'),'loose');
if isloose,
   newline=sprintf('\n');
else
   newline=sprintf('');
end

fprintf(newline);
% disp([name, ' = ']);
disp(r);
fprintf(newline)

% [EOF] display.m

⌨️ 快捷键说明

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