www.gusucode.com > mbcmodels 工具箱 matlab 源码程序 > mbcmodels/@xregexportmodel/concheck.m

    function out = concheck(m);
% ExportModel \ concheck
% Check to see whether constraint can be calculated on this model class
% Unless this function is overloaded by a child it will return 0

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

out = ~isempty(m.constraints);