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

    function y = EvalModel(M, x)
%EVALMODEL Evaluate the expression model
%
%  Y = EVALMODEL(MOD, X) evaluates the expression model at the given
%  inputs.

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


y = evaluate(M.StaticExpression, x);