www.gusucode.com > mbc 工具箱 matlab 源码程序 > mbc/@mbcmodel/@responsefeatures/display.m
function display(obj) %DISPLAY Display an mbcmodel.responsefeatures object % % DISPLAY(OBJ) is called for the object OBJ when the semicolon is not used % to terminate a statement. % % See also mbcmodel.responsefeatures. % Copyright 2007 The MathWorks, Inc. % get the spacing right if isequal( get( 0, 'FormatSpacing' ), 'compact' ), blankline = ''; else blankline = ' '; end % Display variable name disp( blankline ); fprintf( '%s =\n', inputname(1) ); disp( blankline ); if numel( obj ) == 1, disp( obj ); end disp( blankline );