www.gusucode.com > mbcview 工具箱matlab源码程序 > mbcview/@cgsurfview/@svdata/hasConstraints.m

    function h = hasConstraints(obj)
%HASCONSTRAINTS Returns true if constraints are defined for this data
%
% h = obj.hasConstraints

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


h = ~isempty(obj.constraints);