Please I want to verify if a file or a folder is empty !?
123 views (last 30 days)
Show older comments
please help me ! Thank you !
2 Comments
Accepted Answer
More Answers (2)
Imen Mani
on 13 May 2016
2 Comments
Star Strider
on 13 May 2016
It’s part of the documentation!
I can’t possibly improve on the description and code provided.
Pierre
on 31 Jul 2023
Having read the documentation you pointed to, I don't see how it answers the question. I also don't understan how to check if a directory is empty by using the dir function.
See Also
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!