Dir with Cell Output and Options

버전 1.0.0.0 (3.56 KB) 작성자: Skynet
Directory listing with cell output and optional filter, sort, and group arguments.
다운로드 수: 2.6K
업데이트 날짜: 2005/6/10

라이선스 보기

DIRC(DIR_NAME) uses the DIR function to return the directory listing of directory DIR_NAME, with usage of optional arguments, and with the following differences in output:

- The output is in a 'cell' format instead of a 'structure' format.
- The output includes the following columns (in the stated order): Full Item Name, Item Name, Item Extension, Date, Bytes, IsDir

Filter, Sort_By, and Group arguments can optionally be used.

Examples:

dirc('C:\')
dirc('C:\Windows','de','n')
dirc('C:\','','t','d')

See code or type 'help dirc' for usage details.

[Please subscribe to this file if you use it, so you can be notified of updates.]

인용 양식

Skynet (2024). Dir with Cell Output and Options (https://www.mathworks.com/matlabcentral/fileexchange/7390-dir-with-cell-output-and-options), MATLAB Central File Exchange. 검색됨 .

MATLAB 릴리스 호환 정보
개발 환경: R14SP1
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux
카테고리
Help CenterMATLAB Answers에서 File Operations에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!
버전 게시됨 릴리스 정보
1.0.0.0

Added 'or' SORT_BY option.