I installed the newest Matlab release (2025a), but I haven't been able to open MonkeyLogic in it yet. When I try to open it, I get the error: Dot indexing is not supported for variables of this type. Error in mglgetcommandwindowrect (line 6) rect = ; ^^^^^^^^^^^^^^ Error in monkeylogic/init_menu (line 2335) screen_pos = GetMonitorPosition(mglgetcommandwindowrect);by apersello34 - Questions and Answers
Perhaps it would be possible if you did some relatively basic signal conditioning like a DC bias circuit/voltage divider, and maybe some amplification with an op amp. I think it would be just a few basic electronic components like resistors/capacitors/op amp that would accept the audio signal and pass it to the Arduino after conditioning. Though there may or may not be a risk of damaging your audby apersello34 - Questions and Answers
I'm hoping to make a reward system that relies on a direct signal (analog or digital) that doesn't rely on Bluetooth or Arduino. I'd like to use a USB DAQ, something like the NI USB-6009 Can this be done in MonkeyLogic? Would it just be a matter of designing/building the pump circuit and writing the code for it? Would it be a modification to the reward_function.m script, or woulby apersello34 - Questions and Answers
Wondering the same thing here. HC-05 seems to be a bit outdated to my knowledge.by apersello34 - Questions and Answers
I'm looking into buying my behavioral/control computer for my rig and I'm wondering if MonkeyLogic prefers PCI vs PCIe vs PXIe computer ports? The rest of our setup will consist of eye tracking, joystick tracking, photodiode, and neuopixel recordings. The NI Multifunction I/O Device page in the docs talks about this a little bit, but I'm not sure if there's a preference beby apersello34 - Questions and Answers
Thanks that worked! This is the code I ended up using: % Logistic Function for ITI maxITI = 10000; % Longest ITI you want in milliseconds (only approached at the final trials) NumofTrials = 75; % How many total trials you want k = log(maxITI)/(NumofTrials/2); % Steepness of Curve (Can be changed via addition of an arbitrary coefficient) editable('maxITI','NumofTrialsby apersello34 - Questions and Answers
I'm wondering if there's a way to make the Inter-Trial Interval change for each trail in a given task/session? I'm hoping to make it as a (mathematical) function of the Trial number. E.G., ITI after Trial 1 is 2 seconds, ITI after Trial 2 is 4 seconds, and so on (for ITI = 2*Trial#) I'm working on designing a basic initial task for my monkey (this will be the first task he&by apersello34 - Questions and Answers
Nevermind, it seems to be working now.by apersello34 - Questions and Answers
I've been encountering an error whenever I try to search the forum. I'm not sure if it's on my end or not, but I figured I'd make a post to see if anyone else is encountering the same issue. This is the error message I'm receiving: Phorum Database Error Sorry, a Phorum database error occurred. Please try again later! Error: Can't create table 'phorumby apersello34 - Questions and Answers
I'm planning on running MonkeyLogic on a Windows tablet computer (like a Microsoft Surface) for in-cage training of our Macaques. The tasks would likely be something like a rotating Gabor Patch with a monkey-controlled joystick, along with a BT-controlled reward system. I'm wondering what the required specs would be for this? To clarify, I'd like to run everything on just the tby apersello34 - Questions and Answers