How to create a loop that runs a function on subfolders in a directory.
조회 수: 6 (최근 30일)
이전 댓글 표시
I have 153 folders each containing 16 .bmp images. I need to run through each folder, and apply a particular function that segments the image. Then I would like to save the corresponding segmented image in each corresponding folder. I'm new at Matlab and I'm finding this very difficult. Any help would be appreciated!
댓글 수: 1
Geoff Hayes
2018년 5월 16일
Alexander - what have you tried so far? Do you have the list of folders and can you read (from each folder) the list of files? Please see https://www.mathworks.com/matlabcentral/answers/215718-extracting-files-from-multiple-directories which may be helpful.
답변 (1개)
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!