How to put loop for multiple folders in matlab?

1 次查看(过去 30 天)
I am having 62 folders. I am having 55 number of images in each folder. how should i put loop for multiple folders

采纳的回答

Adam Danz
Adam Danz 2018-9-17
allFolders = {'C:\Users\Anu\folder1', 'C:\Users\Anu\folder2', 'C:\Users\Anu\folder3'};
for i = 1:length(allFolders)
currentFolder = allFolders{i};
end
  2 个评论
Anu
Anu 2018-9-18
Thank you. but can we put folder1,folder2,... as in the loop, folder(i)??
Adam Danz
Adam Danz 2018-9-18
I don't understand your follow-up question. Can you give an example of what you'd like to do?

请先登录,再进行评论。

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Read, Write, and Modify Image 的更多信息

标签

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by