https://nl.mathworks.com/help/symbolic/sym.str2sym.html
str2sym - Evaluate string representing symbolic expression - MATLAB
This MATLAB function evaluates symstr where symstr is a string representing a symbolic expression.
evaluatestringrepresentingsymbolicexpression