FUNCTION REFERENCE
inline
Construct an inline function object.
Construct an inline function object.
Syntax
f = inline(expr); f = inline(expr, arg1, arg2, ...); f = inline(expr, n)Without names the arguments are the variables found in expr, in alphabetical order (x when there are none); n gives x, P1, ..., Pn. Call it as f(args) or feval(f, args); formula, argnames, char, vectorize and nargin inspect it.
Example
f = inline('t^2 + 1'); f(3) % 10Differences from MATLAB: Display inside cells and structs shows the underlying fields.
These are the engine’s help pages. Each page keeps its compatibility notes. File operations are unavailable in the browser.