Why do I get the error message " ??? Error using ==> inlineeval "?
이전 댓글 표시
Why do I get the error message " ??? Error using ==> inlineeval " when trying to evaluate h(3) where h(x) is the INLINE function g(f(x)) ?
For example, when the INLINE function is defined as follows, g(f(3)) is evaluated in MATLAB but h(3) returns an error message.
f = inline('x.^2')
g = inline('3*x')
h = inline('g(f(x))')
h(3)
??? Error using ==> inlineeval
Error in inline expression ==> g(f(x))
??? Undefined function or variable 'f'.
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Function Creation에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!