www.gusucode.com > mbcdata 工具箱 matlab 源码程序 > mbcdata/@cgtabgradconstraint/getNumAxes.m

    function nAxes = getNumAxes(obj)
%GETNUMAXES Return the number of axes used in the constraint
%
%   NAXES = GETNUMAXES(OBJ) returns the dimension of the underlying "table"
%   used in the constraint
%
%   See also CGTABGRADCONSTRAINT/GETAXISVARIABLES

%   Copyright 2006 The MathWorks, Inc.

nAxes = length(obj.pAxisVariables);