www.gusucode.com > mbcexpr 工具箱 matlab 源码程序 > mbcexpr/@cgconstant/evalAtInputs.m

    function out = evalAtInputs(obj, inputs)
%EVALATINPUTS Evaluate expression at given input values.
%
%  OUT = EVALATINPUTS(OBJ, INPUTS) returns the value of the expression at
%  the inputs values in INPUTS.  For a constant, the output is simply the
%  value that is currently set in the constant.

%  Copyright 2000-2004 The MathWorks, Inc. and Ford Global Technologies, Inc.


out = resolve(obj.prec, getvalue(obj));