Hi Jaewon,
We are using ML for touch-screen based behaviour and are getting two types of errors, I am listing both scenarios and the corresponding error messages.
*********This first error comes up randomly during touch training: We had seen this problem being posted in the old Monkey logic forum, has this been resolved. Please point to any change we should make in our code to avoid this problem. It is not clear why the touch coordinates should be an odd sized vector.
Error using reshape
Product of known dimensions, 2, not divisible into total number of elements, 6041.
Error in sameDiffTimings_runtime/end_trial (line 1377)
ml_touch=EyeCal.deg2pix(reshape(ml_touch,2,[])');
Error in sameDiffTimings_runtime (line 1798)
end_trial();
Error in run_trial (line 124)
runtime(MLConfig,TrialRecord,TaskObject,TrialData);
Error in monkeylogic/UIcallback (line 828)
result = run_trial(MLConfig,datafile);
Error while evaluating UIControl Callback.
*********** And this one when the task is being loaded but the monkey has its hands on the touchscreen:
Index exceeds the number of array elements (2).
Error in sameDiffTimings_runtime/eyejoytrack (line 637)
mglactivategraphic(Screen.TouchCursor(1:ml_ntouch),ml_active_touch);
Error in sameDiffTimings_runtime (line 1658)
[ontarget,tTrialInitiationTime]=eyejoytrack('touchtarget',taskObjectHoldButton,holdRadiusDva,trialInitiationTimeout);
Error in run_trial (line 124)
runtime(MLConfig,TrialRecord,TaskObject,TrialData);
Error in monkeylogic/UIcallback (line 828)
result = run_trial(MLConfig,datafile);
Error while evaluating UIControl Callback.
I am posting both in the same thread as they seen to be related to touch. We are using an ELO touch screen.
best,
Harish
Apologies for posting from a new account. I am not able to login into my previous one and I am not finding password recovery emails in my inbox.