File Exchange

image thumbnail

lscell

version 1.0.0.0 (2.62 KB) by Erik Roberts
Platform-independent directory listing as cell array of character vectors

1 Download

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.

Comments and Ratings (0)

MATLAB Release Compatibility
Created with R2017b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Tags Add Tags