how to convert text into expression
Mostrar comentarios más antiguos
I have a text file which has string say as (50%((15000-a)+b)). is there any way to calculate this expression.
1 comentario
Respuestas (1)
Azzi Abdelmalek
el 19 de Ag. de 2016
Editada: Stephen23
el 19 de Ag. de 2016
0 votos
It seems that you are looking for functions such eval, which in fact is not recommended by forums and also by Matlab help. read
Categorías
Más información sobre Operations on Strings en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!