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

    function nFixed = getNumFixedVariables(obj)
%GETNUMFIXEDVARIABLES Return the number of fixed variables.
%
%   NFREE = GETNUMFIXEDVARIABLES(OBJ) returns the number of fixed values
%   per variable in the optimization results.
%
%   See also CGOPTIMOUTPUT/GETNUMFREEVARIABLES.

%  Copyright 2006 The MathWorks, Inc.

nFixed = numFixedValues(obj.optimRunner);