Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Stroop configuration figure allows user to edit the Stroop protocol. It can be launched be selecting Stroop protocol and clicking on Edit Protocol button. In the loaded figure user can configure the name of the protocol "Description", columns and rows of appearing objects "Columns" "Rows", time between the challenges tasks "Separation Time",  task period time "Time per Task Type", number of repeats "Repeats".

Upon loading the configuration figure the physProtocolStroop_OpeningFcn() function is called. It performs the following tasks.

physProtocolStroop_OpeningFcn(hObject, eventdata, handles, varargin):

  1. Gets the handles and checks if they are empty, if handles are empty then default configuration parameters are loaded.
  2. Populate the text fields by calling updateGUI(handles) function.

updateGUI(handles):

  1. Updates Columns and Rows.
  2. Updates Separation Time, Time per Task Type, Repeats.