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

    function val = getUpperValue(obj)
%GETUPPERVALUE Get scalar upper bound
%
%   VAL = GETUPPERVALUE(OBJ) returns the scalar upper bound in OBJ.
%
%   See also CGRANGECONSTRAINT/SETUPPERVALUE

%   Copyright 2006 The MathWorks, Inc.

val = getrhsvalue(obj.UpperBound.info);