www.gusucode.com > mbcdesign 工具箱 matlab 源码程序 > mbcdesign/@coninputfactor/setSymbols.m
function cif = setSymbols(cif, symbols) %SETSYMBOLS Set the symbols of a constraint input factor object % % CIF = SETSYMBOLS(CIF, SYMBOLS) % % SYMBOLS must be cell-string with the same number of elements as CIF. % % See also CONBASE, CONINPUTFACTOR, CONINPUTFACTOR/GETSYMBOLS. % Copyright 2004-2005 The MathWorks, Inc. % Ensure that we have a row symbols = symbols(:)'; % Check the size if iscellstr( symbols ) && length( symbols ) == length( cif ), cif.Symbol = symbols; else error(message('mbc:coninputfactor:InvalidArguments16')); end %------------------------------------------------------------------------------| % EOF %------------------------------------------------------------------------------|