www.gusucode.com > mbcdata 工具箱 matlab 源码程序 > mbcdata/@cgoptimstore/getUB.m
function UB = getUB(optimstore) %GETUB Get the free variable upper bounds. % UB = GETUB(OPTIMSTORE) returns the free variable upper bounds used in % the optimization. UB is a (1-by-NFreeVar) vector where NFreeVar is the % number of free variables in the optimization. % % See also: CGOPTIMSTORE/GETLB. % Copyright 2005 The MathWorks, Inc. and Ford Global Technologies, Inc. [unused, UB]= getFreeVariableRanges(optimstore.OptimRunner);