www.gusucode.com > mbctools 工具箱 matlab 源码程序 > mbctools/@sweepset/char.m

    function B = char(A)
%CHAR Char converter for sweepset object
%
%  STR = CHAR(SS) creates a string that describes the sweepset SS.

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


B = char(...
    sprintf(' Source File : %s',A.number),...
    sprintf(' Size        : %d Record(s) x %d Variable(s) (%d Test(s))',size(A)),...
    sprintf(' Date        : %s',A.datetime),...
    sprintf(' Comment     : %s',A.comment));