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

    function display(V)
%DISPLAY
%
%   DISPLAY( EVALPOINTS )

%   Copyright 2006-2008 The MathWorks, Inc.

fprintf( '%s = \n\t%s object\n', inputname(1), class(V) );
pIn = V.Inputs;
if isempty( pIn )
    fprintf( '\t<uninitialized>\n' );
else  
    [value, notused, islink] = V.pGetFromStore( pIn );
    for n = 1:length( pIn )
        if islink(n)
            fprintf( '\t%s -> %s\n', pIn(n).getname(), value{n}.getname  );
        else
           fprintf( '\t%s = %s\n', pIn(n).getname(), mat2str( value{n} ) ); 
        end        
    end
end