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 Solvers19
Suggested Problems
-
4493 Solvers
-
3483 Solvers
-
Replace NaNs with the number that appears to its left in the row.
3064 Solvers
-
Remove element(s) from cell array
1984 Solvers
-
Check if inputted variable is a string or a number
91 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