www.gusucode.com > mbcmodels 工具箱 matlab 源码程序 > mbcmodels/@xregusermod/constraints.m
function varargout= constraints(U,varargin) %CONSTRAINTS % % [LB,UB,A,b,nlcon,optparams]= constraints(U); % Copyright 2000-2010 The MathWorks, Inc. and Ford Global Technologies, Inc. try [varargout{1:6}]= feval(U.funcName,U,'constraints',varargin{:}); catch ME if ~strcmp(ME.identifier,'MATLAB:UndefinedFunction') || isempty(strfind(ME.message,'i_constraints')) % It is permissible not to define constraints in the MATLAB file ReportError(U,ME) end varargout= {[],[],[],[],0,[]}; end