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

    function N = getNumRuns(optim)
%GETNUMRUNS Return the number of runs that the optimization will make
%
%  N = GETNUMRUNS(OPTIM) returns the number of runs that the optimization
%  is going to make.

%  Copyright 2005 The MathWorks, Inc. and Ford Global Technologies, Inc.


N = optim.NumberOfRuns;