how do I count number of folder?
Show older comments
I do know how to count the number of files within the folder like this,
but is their way to file the number of folder inside the certain folder? (not file)
1 Comment
Oleg Komarov
on 7 Oct 2014
use dir()
Accepted Answer
More Answers (1)
Image Analyst
on 8 Oct 2014
1 vote
I think I answered this in your other question on it: http://www.mathworks.com/matlabcentral/answers/157750-changing-directory-to-do-same-work#answer_154298
Categories
Find more on File Operations 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!