FUNCTION REFERENCE

symvar

Extract sorted variable names from an expression string.

Extract sorted variable names from an expression string.

Syntax

names = symvar(expression)

Example

symvar('x+y*z')   % {'x'; 'y'; 'z'}

Differences from MATLAB: A lexical scan identifies names; no symbolic engine is used.

These are the engine’s help pages. Each page keeps its compatibility notes. File operations are unavailable in the browser.