How to put loop for multiple folders in matlab?
2 views (last 30 days)
Show older comments
I am having 62 folders. I am having 55 number of images in each folder. how should i put loop for multiple folders
0 Comments
Accepted Answer
Adam Danz
on 17 Sep 2018
allFolders = {'C:\Users\Anu\folder1', 'C:\Users\Anu\folder2', 'C:\Users\Anu\folder3'};
for i = 1:length(allFolders)
currentFolder = allFolders{i};
end
2 Comments
Adam Danz
on 18 Sep 2018
I don't understand your follow-up question. Can you give an example of what you'd like to do?
More Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!