Calendar Latest Topics
 
 
 


Reply
  Author   Comment  
kms

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

I generated a conditions file (with 8 task objects, 360 conditions or trials and an Info tab) using the generate_condition function. The condition file looks normal with each condition or trial starting on a new line. For some reason on loading it on monkey logic, the total no. of conditions in the task sub menu is showing up as only 1. 
 
In effect, only the first condition or trial is being recognized and played over and over again. Any thoughts on what could be wrong?
0
Jaewon

Administrator
Registered:
Posts: 971
Reply with quote  #2 
The problem is because generate_condition.m is adding a carriage return ('\r') at the end of each line, which is not needed in Windows, and load_conditions.m is not handling it in a right way.

The easiest fix is to delete all empty lines between conditions. Or delete '\r' in the line 179 of generate_condition.m and recreate the condition file. This error is fixed in the new version of NIMH ML.

http://forums.monkeylogic.org/post/nimh-monkeylogic-8118700?pid=1293700817&forum=454793

0
Previous Topic | Next Topic
Print
Reply

Quick Navigation:

Easily create a Forum Website with Website Toolbox.