Hello, Is there a TrialRecord variable or built-in way to separate TrialErrors and ConditionsPlayed by blocks? These arrays store the conditions and trial outcomes across multiple blocks throughout the session, I would like to access these variables for the current block only. If there is no built-in option, I will just count the indices of TrialErrors and ConditionsPlayed backwards from Currby cfeigen90 - Questions and Answers
Ok, thank you. I will attempt to fix this by reading in the conditions file and telling the condition selector to select possible conditions based on blocks.by cfeigen90 - Questions and Answers
Hello, I am trying to get my conditions and block selection functions to work together. They work properly when used separately. I believe the issue is that my conditions are spread over several blocks (i.e. conds 1-4 are block 1, conds 5-8 are block 2 etc). When the block selector appropriately switches from block 1 to block 2, monkeylogic throws an error " Condition # 1 does not exist&qby cfeigen90 - Questions and Answers
I figured out one solution after posting the Q and leaving it here in case anybody else wanted to do this. To access the contents of my conditions file from the timing file, I created a folder (cond_folder) that only contains the conditions file (cond_file.txt) and then in the timing file I call it using dir() cond_folder= dir('cond_folder'); cond_file = cond_folder(end).name; T =by cfeigen90 - Questions and Answers
Are the task conditions listed in the txt conditions file stored in the TrialRecord structure? I would like to have my timing file read in some properties of the conditions but I cannot find the conditions in either TrialRecord or MLConfig. Currently I call the conditions file directly in my timing file using T = table2cell(readtable('cond_file.txt')) but this is not ideal as it requiby cfeigen90 - Questions and Answers