how to convert text into expression
Show older comments
I have a text file which has string say as (50%((15000-a)+b)). is there any way to calculate this expression.
1 Comment
Answers (1)
Azzi Abdelmalek
on 19 Aug 2016
Edited: Stephen23
on 19 Aug 2016
0 votes
It seems that you are looking for functions such eval, which in fact is not recommended by forums and also by Matlab help. read
Categories
Find more on Operations on Strings in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!