Using a cell array as the first argument to sym() is not a documented usage for any functionality of sym()
You can
sym('literalvariable', 'real')
and you can
sym(ExistingSymbolicArray, 'real')
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!