How can I convert string text to Symbolics
1 view (last 30 days)
Show older comments
I use symbolic formula and file reading. I want read text from file and convert symbolic string to symbolics
syms x1
strX1 = 'x1';
x1 = 34;
disp(strX1)
disp (x1)
I want result of last 2 line to be same. Are there any way to make strX1 to convert as symbolic type? something like str2sym :D
0 Comments
Answers (1)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!