FindRequiredFiles:

Path: Common/FileUtils

--------------------------------------------------------------------------
   Find the files required by a function or a script in order to run 
   i.e. the *.mat files

   All files located under the matlabroot directory are ignored,
   because they are assumed to be built-in MATLAB files.

   Since version 10.
--------------------------------------------------------------------------
   Form:
   [names,dirs] = FindRequiredFiles( filename, level, noMatlabFuns, method )
--------------------------------------------------------------------------

   -------
   Inputs
   -------
   FunctionIn   {n}  String or Cell array of function names
   DirectoryIn  {n}  String or Cell array of corresponding directory names


   -------
   Outputs
   -------
   frequired    {:}  Cell array of required file names with extensions
   drequired    {:}  Cell array of corresponding directory names

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

Back to the Common Module page