function INLINE_OUT_ = inlineeval(INLINE_INPUTS_, INLINE_INPUTEXPR_, INLINE_EXPR_)
% INLINEEVAL Evaluate an inline object expression.
%    Utility function to evaluate expression in a function outside the 
%    @inline directory so that f(x), where f is an inline in the expression, 
%    will call the overloaded subsref for inline objects.

%   Copyright 1984-2000 The MathWorks, Inc.
%   $Revision: 1.1 $  $Date: 2000/04/19 21:50:32 $

eval(INLINE_INPUTEXPR_);
INLINE_CATCH_ = ['error(sprintf(''Error in inline expression',...
        ' ==> %s\n??? %s'',INLINE_EXPR_,lasterr))'];
INLINE_OUT_ = eval(INLINE_EXPR_,INLINE_CATCH_);
