www.gusucode.com > mbcdesign 工具箱 matlab 源码程序 > mbcdesign/@des_constraints/constraints.m
function cons=constraints(C,cons) %CONSTRAINTS Return list of constraint objects % % CONS=CONSTRAINTS(C) returns a cell array of the individual constraints held % in C. % % Copyright 2000-2007 The MathWorks, Inc. and Ford Global Technologies, Inc. if nargin==1 cons=C.Constraints; else C.Constraints = cons; cons = C; end