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

    function ch= char(c)
%CHAR

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



ch=cell(length(c.Constraints),1);

for n=1:size(ch,1)
   ch{n} = tostring( c.Constraints{n} );
end
ch= char(ch);