PathDirectories:

--------------------------------------------------------------------------
   Generate a cell array list of all directories in the Matlab path.
--------------------------------------------------------------------------
   Form:
   d = PathDirectories;
--------------------------------------------------------------------------

   ------
   Inputs
   ------
   none

   -------
   Outputs
   -------
   d             {:,1}     Cell array list of all directories in the path

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