DirToCell:

Path: Common/General

--------------------------------------------------------------------------
   Converts a directory list into a cell array. The second argument can be
   used to filter the names found in the list of files.
--------------------------------------------------------------------------
   Form:
   c = DirToCell( path )
--------------------------------------------------------------------------

   ------
   Inputs
   ------
   path     {}     Path to the directory to be searched
   y        {}     Output only those files that have y in them

   -------
   Outputs
   -------
   c        (:)   Cell array

--------------------------------------------------------------------------

Children:

Common: General/ChangePath

Back to the Common Module page