ListCases:

Path: Common/General

% List the switch cases that are included in a given file.
 The default is to print the full set of case names to the command line as
 well as provide an output. To suppress the command line display pass true
 for quiet.
--------------------------------------------------------------------------
   Form:
   names = ListCases( filename, beQuiet, first )
--------------------------------------------------------------------------

   ------
   Inputs
   ------
   filename      (:)    String name of file to examine
   beQuiet       (1)    Flag for quiet operation - no printout
   first         (1)    Flag to keep only first case for a cell array 

   -------
   Outputs
   -------
   names         {:}   Cell array of case names

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

Back to the Common Module page