How to remove empty directory names such as '.' '..' returned by "dir" function?
Show older comments
I am using "dir" function to read folder names from a particular directory. Sometimes the function returns some empty or hidden folder names such as "." or "..". How can I get rid of these empty folder names?
Accepted Answer
More Answers (0)
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!