Calendar Latest Topics
 
 
 


Reply
  Author   Comment  
NWK

Junior Member
Registered:
Posts: 23
Reply with quote  #1 
Hi there! I was trying to launch the DMS (Delayed-Match-to-Sample) task file attached in the website, and a problem occured like this:
%%%%%%%%%%%%%%%%%%%%%%%%
Error using VideoReader/init (line 442)
The filename specified was not found in the MATLAB path.
 
Error in VideoReader (line 146)
            obj.init(fileName);
 
Error in initstim (line 12)
        reader = VideoReader(sourcefile);
 
Error in monkeylogic (line 533)
C = initstim('initializing.avi', ScreenInfo);
 
Error in mlmenu (line 2326)
                monkeylogic(condfile, datafile, testflag);
 
Error while evaluating uicontrol Callback
%%%%%%%%%
I 'm sure of the correct inclusions of such necessary packages like svistoolbox, xgltoolbox and so on.
 Could anyone give some suggestions? 捕获.JPG 





0
Jaewon

Administrator
Registered:
Posts: 971
Reply with quote  #2 
What is your MATLAB version?
0
NWK

Junior Member
Registered:
Posts: 23
Reply with quote  #3 
Quote:
Originally Posted by Jaewon
What is your MATLAB version?
MATLAB 2014a
0
Jaewon

Administrator
Registered:
Posts: 971
Reply with quote  #4 

I think I misread the error messages when I asked about your MATLAB version. The messages say that "initializing.avi" cannot be found. Since I can see you have that file right in your MonkeyLogic directory, I guess it is because the name of your MonkeyLogic directory has changed but preference is not updated. Try this. Type the following on the MATLAB command window and restart MonkeyLogic. You don't need svistoolbox and xgltoolbox, by the way.

rmpref('MonkeyLogic');

0
NWK

Junior Member
Registered:
Posts: 23
Reply with quote  #5 
Quote:
Originally Posted by Jaewon

I think I misread the error messages when I asked about your MATLAB version. The messages say that "initializing.avi" cannot be found. Since I can see you have that file right in your MonkeyLogic directory, I guess it is because the name of your MonkeyLogic directory has changed but preference is not updated. Try this. Type the following on the MATLAB command window and restart MonkeyLogic. You don't need svistoolbox and xgltoolbox, by the way.

rmpref('MonkeyLogic');

Thank you very much! That works!
0
Previous Topic | Next Topic
Print
Reply

Quick Navigation:

Easily create a Forum Website with Website Toolbox.