Function Reference
— Function File: symvar (s)

Identifies the argument names in the function defined by a string. Common constant names such as pi, NaN, Inf, eps, i or j are ignored. The arguments that are found are returned in a cell array of strings. If no variables are found then the returned cell array is empty.