lscell

Platform-independent directory listing as cell array of character vectors
18 Downloads
Updated 26 Mar 2018

View License

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 Linux
Categories
Find more on File Operations in Help Center and MATLAB Answers
Tags Add Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.0.0.0