Thanks, while I was trying to use a second monitor to show the subject screen if I move the control panel in my main screen, the program crashed for a few minutes and then worked again. I assume it was some problem because of DirectX, but is there a way to fix that?by Song_Moore - Questions and Answers
Hi Jaewon, Thank you for the correction, and I am sorry for the confusion. It seems that what the user plot function modifies is the figure at the bottom-right corner in the window of MGL control screen, but I am trying to display the summary separately from this window just like when the task ends, the behaviorsummary shows. I am trying to display behaviorsummary window all the time sinceby Song_Moore - Questions and Answers
I tried to use a function file test.m like: function test plot( TrialRecord.CurrentTrialNumber, TrialRecord.ReactionTimes) end But when I ran the program it gave an error after I selected this file as user plot function.by Song_Moore - Questions and Answers
Hi Jaewon, Thank you so much for your help! The first question was solved perfectly! I am having some trouble using "user plot function" feature. Can you give an example about how to use it?by Song_Moore - Questions and Answers
Hi, I have two questions want to ask about: 1. As shown in the attached figure file, the cursor is green and two targets are blue. When green cursor gets into the blue circle in the center, a holding time starts, and when green cursor leaves target region during the holding time, the target become red and the trial is aborted. Since the cursor I used was large, when the cursor left the centralby Song_Moore - Questions and Answers
Hi Jaewon, Thank you so much for showing the file! It helped a lot! I was confused a little bit about how "eyejoytrack('holdtarget', target, 4, 5000);" works after you showed me, but it became so much clearer when I tried your code. Thank you!by Song_Moore - Questions and Answers
For example, if there is a target at (10, 0), and the cursor starts at (0, 0). I want to move the cursor from (0,0) to (10, 0). After the delay period, a response period begins, which will last for 5 seconds, and the cursor begins to move away from the center position. If the cursor does not move above x = 4 within 5 seconds, the trial is aborted. As soon as the cursor moves above x =by Song_Moore - Questions and Answers
Sorry for the confusion. The real-time position of the joystick is (x, y). The cursor is initially at the center (0, 0) during the delay period. When the delay period ends, a response period starts, and this response period lasts for 5000 ms. I am trying to record the time length a monkey needs to move the cursor to 4 units away within 5000 ms. If the monkey fails to move the cursor 4 unitby Song_Moore - Questions and Answers
Hi, I am trying to let the monkey move the cursor after delay. The time period it moves cursor after delay is called "reaction time". I want to set up that when cursor is moved from the center 4 distance away, the reaction time finishes, and the next time period starts. There is a time limit which is 5 seconds. If the cursor is not moved outward 4 distance from center within 5 seconds,by Song_Moore - Questions and Answers
Found the way to do that, thank you!by Song_Moore - Questions and Answers
Hi Jaewon, Thank you so much for your help, I updated my script and it works pretty well! I did saw the customized calibration file but just had a hard time to make cursor start moving after setting it up. I have another question want to ask: Is there a way I can updated my Target picture to a different picture? For example, after the delay period, two images are presented on both sidesby Song_Moore - Questions and Answers
Hi, I am trying to set up the starting position of the cursor for joystick so that it can show up randomly each time when a new condition is run. Is there a way I can do this? Thank you.by Song_Moore - Questions and Answers