Hello Jaewon,
sorry to bother you.
I am trying to make a task using a touch screen.
I am using the following:
mano = SingleTarget(touch_);
mano.Target = 1; % TaskObject#1
mano.Threshold = 10; % deg
spoton = WaitThenHold(mano);
spoton.WaitTime = InitFixation; %% Time to Initiate Fixation
spoton.HoldTime = FixDotDuration; %% Holding Time of Fixation spot
sceneSPOTON = create_scene(spoton, fixdot);
but it does not work.
I get a message saying that
Unrecognized function or variable 'touch_'.
Error in tocco_runtime (line 1270)
mano=SingleTarget(touch_);
Error in run_trial (line 132)
runtime(MLConfig,TrialRecord,TaskObject,TrialData);
Error in monkeylogic/UIcallback (line 915)
result = run_trial(MLConfig,datafile);
Error while evaluating UIControl Callback.
Is there something that I should be aware of?
Thank you!