All symbolic scalar variables, functions, and arrays in the MATLAB workspace are listed in syms. example. All symbolic scalar variables, functions, and arrays are named in a cell array returned by S = syms.