Get the variable value from a string.
Example.
x = 'A=10'
y = 'B=20'
Result = (x+y)
Result = 30
Solution Stats
Problem Comments
4 Comments
Solution Comments
Show comments
Loading...
Problem Recent Solvers20
Suggested Problems
-
19290 Solvers
-
Back to basics 4 - Search Path
382 Solvers
-
Find the index of the largest value in any vector X=[4,3,4,5,9,12,0,4.....5]
399 Solvers
-
Convert a Cell Array into an Array
2201 Solvers
-
232 Solvers
More from this Author1
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
hi,function need two input and also first testsuite is not correct
10+20==32 ???
The first test suite is still faulty...10+20=32.
Test suite has been fixed