Why do I get the error message " ??? Error using ==> inlineeval "?
Mostrar comentarios más antiguos
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'.
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Function Creation en Centro de ayuda y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!