Skip to content

parseCommand

  parseCommand

  Parses out a string in the format specified below, into a structure.

  CommandType:ParamName1=ParamValue1;ParamName2=ParamValue2;

  The command string can have as many parameters in it as possible.

  Example:
    ExpParameters:TaskType=Disc;StimPattern=0;SRad=10.0000;PRad=30.0000;Int
    =0.2000;Xpos=0.0000;Ypos=5.0000;Dur=0.2000;

 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
    Kian Torab
    kianabc@kianabc.com
    Department of Bioengineering
    University of Utah
    Contributors: 

    Version 1.3.0.0 - November 2, 2010 
    Last edit by: Kian Torab
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%