5.0 | 2 ratings Rate this file 12 Downloads (last 30 days) File Size: 13.4 KB File ID: #34944 Version: 1.3

List of files from directories/files list or browser


Nikolay S. (view profile)


06 Feb 2012 (Updated )

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

| Watch this File

File Information

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.


Folders Sub Folders and Folders Tree Files List inspired this file.

This file inspired Apply2 Video Frames, Mosaic Generator, and Files To Folders Based On Properties.

Required Products MATLAB
MATLAB release MATLAB 7.12 (R2011a)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (3)
30 Jun 2015 Mathieu Chemin  
09 Jul 2014 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.

Comment only
08 Jul 2014 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.

03 Jan 2013 1.1

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

22 Apr 2013 1.2

Some bug fixes and service functions update

08 Jul 2014 1.3

Some bug fixes...

Contact us