ParseCommand:

Path: SC/GUIPlugIn

% Parse a command string
 The command string is 'timetag command modifier data' A command can
 have a modifer with data or just data
--------------------------------------------------------------------------
   Form:
   [timeTag, command, index, data] = ParseCommand( s, d )
--------------------------------------------------------------------------

   ------
   Inputs
   ------
   s     	(1,:)   Command string
   d     	(1,1)   Data structure describing the commands
                   .command        {:}   List of commands
                   .commandModifer (1,:) 1 if there is a modifier
                   .commandData    (1,:) 1 if there is data

   -------
   Outputs
   -------
   timeTag (1,:)   Command time tag
   command	(1,:)   Command
   index   (1,1)   Command index
   data    (1,1)   Command data
 
--------------------------------------------------------------------------

Children:

Common: General/DeBlankLT
Common: General/StringMatch

Back to the SC Module page