Create workspace file automatically.
Show older comments
Let's say I have:
a = {'one' 'two' 'three'};
b = [1 2 3];
I want each word create a file in workspace automatically and equal to number. Like:
one=1; two=2; three=3;
Accepted Answer
More Answers (2)
Walter Roberson
on 10 Feb 2011
0 votes
This is generally considered poor programming and hard to maintain. Please see the FAQ answer on this topic for alternatives.
faizal
on 10 Feb 2011
0 votes
Categories
Find more on Whos 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!