rename a variable
Show older comments
in my workspace i have an array that is named 'data' and I have a name field with some filename = 'filename'
I would like to rename the array called data to the name that is stored in the filename name variable.
simply doing filename = data; renames data to filename not the actual name that filename holds.
Accepted Answer
More Answers (1)
Sean de Wolski
on 5 Mar 2012
1 vote
Categories
Find more on String Parsing in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!