File Exchange

image thumbnail

List of files from directories/files list or browser

version 1.3 (13.4 KB) by

Returns cell array of file names, needed by various functions.

1 Download

Updated

View License

This functions goal generate a cell array of file names, needed by the calling functions. The input should be a cell array with directories including the files or files name. The function also supports input of a single directory name string, or a single file name string. In the late two cases, each file is tested for existence. Absolute file path is used thus replacing the relative path. Alternatively, the user can choose the files or directories including files using the OS explorer- by enabling the 'flagGUI' input.

Comments and Ratings (3)

Nikolay S.

Nikolay S. (view profile)

Hi Vaj.
Thanks for the grade and comment. I think the dots cause the problem (fileparts assumes dot separates file name and extension), but I'll try resolving this.
Cheers!

Vaj

Vaj (view profile)

I have noticed that there are troubles with folders named like dates. For example folder named 9.8.2014 will not be on the list.
Otherwise great code. Thank you.

Updates

1.3

Some bug fixes...

1.2

Some bug fixes and service functions update

1.1

Some changes were made: new features, bugs removed, some code style improvements...

MATLAB Release
MATLAB 7.12 (R2011a)

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video