Change input name when running a script
Show older comments
Hi everybody,
I'm trying to change the input name but I can't get it to work. Basically, what I want to do is changing the autoname below for each run:
load('test1.mat');
load('test2.mat');
names = {'test1', 'test2'};
for autoname = 1:length(names)
All_numbs=autoname;
end
So it ends up being different matrices called at each iteration.
Thanks in advance.
Best regards,
Christian
Accepted Answer
More Answers (1)
Image Analyst
on 7 Dec 2014
0 votes
Categories
Find more on Signal Analysis 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!