Create workspace file automatically.
显示 更早的评论
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;
采纳的回答
更多回答(2 个)
Walter Roberson
2011-2-10
0 个投票
This is generally considered poor programming and hard to maintain. Please see the FAQ answer on this topic for alternatives.
类别
在 帮助中心 和 File Exchange 中查找有关 Whos 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!