www.gusucode.com > mbcdata 工具箱 matlab 源码程序 > mbcdata/@cgoptimrunner/getRunAPIVersion.m
function v = getRunAPIVersion(obj) %GETRUNAPIVERSION Return the API version to run the optimization with. % % V = GETRUNAPIVERSION(OPTIM) returns the API version that the % optimization should be run with. This will be either 2 or 3. % Copyright 2005 The MathWorks, Inc. v = obj.RunAPIVersion;