Sign up Calendar Latest Topics
 
 
 


Reply
  Author   Comment  
fkchiang

Junior Member
Registered:
Posts: 6
Reply with quote  #1 

Hi folks,

I am using NIMH ML2 (July 2017) to design tasks and would like to know whether ML2 allows me to get Eye x- and y-vectors in the current trial. I checked the description in "TrialRecord Structure" and realized "TrialRecord.LastTrialAnalogData" only allows me to get the last trial's analog signals, but not current one. The alternative way I think is to go into the "eyejoytrack" script and modify the output, but I couldn't find the script since I installed ML2 by using its APP. So, does anyone have suggestions for this? Thanks in advance.

Best,
Feng-Kuei

0
Jaewon

Administrator
Registered:
Posts: 730
Reply with quote  #2 
You can use get_analog_data().

ftp://helix.nih.gov/lsn/monkeylogic/ML2_doc/runtimefunctions.html#get_analog_data

For the installation directory when you installed the MATLAB app, see the "Using a MATLAB app installer" section in the page below.

https://www.nimh.nih.gov/labs-at-nimh/research-areas/clinics-and-labs/ln/shn/monkeylogic/getting-started-with-nimh-monkeylogic.shtml
0
fkchiang

Junior Member
Registered:
Posts: 6
Reply with quote  #3 
Great! I don't know why I am missing this on the website, but it is exactly what I am looking for! Thanks.
0
Previous Topic | Next Topic
Print
Reply

Quick Navigation:

Easily create a Forum Website with Website Toolbox.