Welcome! Log In Create A New Profile

Advanced

Task Crashes MATLAB

Posted by aboharbf 
Task Crashes MATLAB
October 06, 2019 07:01PM
Hey Jaewon, modified a task I've been using a while in an attempt to add stimulation. Something I've written in the timing script leads to MATLAB crashing upon attempting to load the linked userloop file. I've sent you a link with the task, the report is attached. I noticed something about privileges, so I ran MATLAB in Admin mode but this did not help. Thanks a lot for the help.
Attachments:
open | download - ErrorReport.txt (13.3 KB)
Re: Task Crashes MATLAB
October 07, 2019 10:00AM
There is nothing in the error report that indicates NIMH ML. It is a problem of your mat file and MATLAB. You can see it for yourself with the following commands.

who('-file','fixate_reward_userloop_cfg2.mat','test')
load('fixate_reward_userloop_cfg2.mat')
Re: Task Crashes MATLAB
October 08, 2019 08:18AM
Odd, but deleting this file and recreating it worked. Thanks a lot!

The National Institute of Mental Health (NIMH) is part of the National Institutes of Health (NIH), a component of the U.S. Department of Health and Human Services.