lscell
Version 1.0.0.0 (2.62 KB) by
Erik Roberts
Platform-independent directory listing as cell array of character vectors
Problem: Calls to `ls` give different results on different operating systems.
Solution: This function returns a platform-independent directory listing as a cell array of character vectors. It internally uses `dir`. There are flags for relative vs. absolute paths.
Cite As
Erik Roberts (2024). lscell (https://www.mathworks.com/matlabcentral/fileexchange/66637-lscell), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2017b
Compatible with any release
Platform Compatibility
Windows macOS LinuxCategories
Find more on File Operations in Help Center and MATLAB Answers
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
1.0.0.0 |