Are you receiving the variable name or the value. If you receive the number you can execute
str2num();
on the result. If you receive the string v_max back you can run eval on the string to find the value
eval('v_max');
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!