Calendar Latest Topics
 
 
 


Reply
  Author   Comment  
kms

Member
Registered:
Posts: 37
Reply with quote  #1 
Hi, 

Is there a way to access a variable's value in the previous trial while running a task?

For e.g., suppose an extra reward needs to be given in the current trial depending on whether the value of a variable in the previous trial was '1' (correct previous trial) or '0' (incorrect previous trial). Since the timing file is read fresh during each trial, how do I access the value of this variable in the previous trial?

Thanks.
0
Jaewon

Administrator
Registered:
Posts: 971
Reply with quote  #2 
You cannot access just any variable, but the correct/incorrect information of the previous trials is available. See the following link.

http://www.brown.edu/Research/monkeylogic/timingscripts.html#trialrecord
0
Previous Topic | Next Topic
Print
Reply

Quick Navigation:

Easily create a Forum Website with Website Toolbox.