how to convert text into expression
显示 更早的评论
I have a text file which has string say as (50%((15000-a)+b)). is there any way to calculate this expression.
1 个评论
回答(1 个)
Azzi Abdelmalek
2016-8-19
编辑:Stephen23
2016-8-19
0 个投票
It seems that you are looking for functions such eval, which in fact is not recommended by forums and also by Matlab help. read
类别
在 帮助中心 和 File Exchange 中查找有关 Characters and Strings 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!