www.gusucode.com > mbcexpr 工具箱 matlab 源码程序 > mbcexpr/@cgexpr/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.  INPUTS should be a cell array with a cell
%  for each input to the expression that contains a vector of input values.
%  Each input should be a vector.  They should all be either the same
%  length or scalars.

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


% Standard expression simply returns 0 for all inputs
out = 0;