www.gusucode.com > mbcexpr 工具箱 matlab 源码程序 > mbcexpr/@cgdivexpr/display.m

    function display(d)
%DISPLAY Display method
%
%  DISPLAY(OBJ) will display the state of the object at the command line.

%  Copyright 2000-2010 The MathWorks, Inc. and Ford Global Technologies, Inc.


if strcmp(get(0 , 'FormatSpacing') , 'loose')
   str = ' ';
else
   str = '';
end

disp(str);
disp([inputname(1) ' =']);
disp(str);
if isempty(d)
   disp('Incomplete or empty cgdivexpr');
else
   disp(char(d));
end
disp(str);