Creating a cell structure from directory file names
이전 댓글 표시
Good afternoon,
I am currently trying to create a cell array of file names using the dir function. For example:
datedir = dir('directorygoeshere');
I want to make my function "datedir" to be a 1xn cell and am having a bit of difficulty choosing the right conversion function. Any help would be greatly appreciated. Thanks!
답변 (1개)
Thorsten
2016년 9월 6일
datedir = dir('directorygoeshere');
filenames = {datedir.name}:
카테고리
도움말 센터 및 File Exchange에서 File Operations에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!