Forum
Register Calendar Latest Topics
 
 
 


Reply
  Author   Comment  
aboharbf

Junior Member
Registered:
Posts: 16
Reply with quote  #1 
I am attempting to test Monkey Logic on my Surface Pro 3 (i5 version). I expect it to throw errors because I don't have 2 monitors attached, but I don't understand the errors I am getting so far.

Below is what I see when I first put in "monkeylogic", after the other initializing steps

---

Undefined function or variable 'pointingdevice'.

Error in mlmouse (line 74)
mouse = pointingdevice;

Error in mlvideo (line 115)
mlmouse(fxn, screen_ppd); % send the screen_ppd to mlmouse which it will use
for scaling data later

Error in mlmenu (line 340)
mlvideo('init');

Error in monkeylogic (line 37)
mlmenu;
---

The window still pops up, so I load conditions files. Below is what I see when I do load the files from the sample task conditions file (dms.txt).


---

Undefined function 'eval' for input arguments of type 'double'.

Error in mlmenu>update_stimwindow (line 3310)
ppd = eval(get(findobj(gcf, 'tag', 'ppd'), 'string'));

Error in mlmenu (line 793)
update_stimwindow;

Error while evaluating UIControl Callback
---

I also had some difficuly with permissions. I keep getting "Problem with supplied logfile path: Permission denied" unless the file is in the MATLAB folder, and when it is, I can only keep it from appearing by loading monkeylogic, closing it, and reloading it. 

Any input would be appreciate. Thank you.

0
Jaewon

Senior Member
Registered:
Posts: 344
Reply with quote  #2 
You downloaded it from the GitHub, didn't you? Download NIMH DAQ Toolbox from the following link, unpack it under the MonkeyLogic directory and add the directory to the MATLAB path. Then at least the first error will disappear.

http://forums.monkeylogic.org/post/update-your-nimh-daqtoolbox-8351393?pid=1294300195

NIMH MonkeyLogic can run with one monitor though. FYI.
0
aboharbf

Junior Member
Registered:
Posts: 16
Reply with quote  #3 
Thank you for the reply. I did download it from Github. I've downloaded the NIMH DAQ Toolbox and placed it in the "monkeylogic/MonkeyLogic" folder, where I found the other folder with previous versions.

The following is the new Error, along with some of the stuff for info:
"


<<< MonkeyLogic >>> Revision : 05-23-2016 build 1.1.85
<<< MonkeyLogic >>> Operating System: Windows_NT...
<<< MonkeyLogic >>> *** JAVA Virtual Machine is Running ***
<<< MonkeyLogic >>> Computer Name: DESKTOP-JUQ9DGS...
<<< MonkeyLogic >>> Logged in as "aboha"...
<<< MonkeyLogic >>> Detected 4 "AMD64" processors...
<<< MonkeyLogic >>> Matlab version: 9.1.0.441655 (R2016b)...
<<< MonkeyLogic >>> Approximate Matlab cycle rate is 902 kHz
<<< MonkeyLogic >>> Launching Menu...
<<< MonkeyLogic >>> Initialized Video Graphics interface...
<<< MonkeyLogic >>> Initialized Task Menu...
<<< MonkeyLogic >>> Initialized XGL - DirectX 9 fullscreen graphics layer for Matlab...
<<< MonkeyLogic >>> Touchscreen/Mouse Initialized.
Warning: The following error was caught while executing 'pointingdevice' class destructor:
Invalid MEX-file 'C:\Users\aboha\Documents\MATLAB\MonkeyLogic
Stuff\monkeylogic\MonkeyLogic\daqtoolbox\daqmex.mexw64': The specified module could not be found..

Error in pointingdevice/delete (line 56)
daqmex(4,obj(m).AdaptorName,obj(m).DeviceID,obj(m).SubsystemType,obj(m).TaskID);

Error in pointingdevice (line 49)
function obj = pointingdevice()

Error in mlmouse (line 74)
mouse = pointingdevice;

Error in mlvideo (line 115)
mlmouse(fxn, screen_ppd); % send the screen_ppd to mlmouse which it will use for scaling data
later

Error in mlmenu (line 340)
mlvideo('init');

Error in monkeylogic (line 37)
mlmenu;
> In pointingdevice (line 49)
In mlmouse (line 74)
In mlvideo (line 115)
In mlmenu (line 340)
In monkeylogic (line 37)
Invalid MEX-file 'C:\Users\aboha\Documents\MATLAB\MonkeyLogic
Stuff\monkeylogic\MonkeyLogic\daqtoolbox\daqmex.mexw64': The specified module could not be found..

Error in pointingdevice (line 51)
daqmex(3,obj.AdaptorName,obj.DeviceID,obj.SubsystemType,obj.TaskID);

Error in mlmouse (line 74)
mouse = pointingdevice;

Error in mlvideo (line 115)
mlmouse(fxn, screen_ppd); % send the screen_ppd to mlmouse which it will use for scaling data
later

Error in mlmenu (line 340)
mlvideo('init');

Error in monkeylogic (line 37)
mlmenu;"

Attempting to run the sample task returns the same issue.

Thanks a lot for the help - really looking forward to getting this up and running!

0
Jaewon

Senior Member
Registered:
Posts: 344
Reply with quote  #4 
Install Microsoft Visual C++ 2013 Redistributable (x64) and DirectX 9.0c runtime. It is written in the document somewhere.

https://www.microsoft.com/en-us/download/details.aspx?id=40784
https://www.microsoft.com/en-us/download/details.aspx?id=8109

As you said, you won't be able to run it though. It needs two monitors. I mean, for actual tasks.
0
aboharbf

Junior Member
Registered:
Posts: 16
Reply with quote  #5 
Thanks for the response. I've installed those two files, but the errors remain exactly the same. Any additional suggestions/things I can check?

Also, You had mentioned in an earlier post I could use MonkeyLogic with 1 monitor - Has something changed?
0
Jaewon

Senior Member
Registered:
Posts: 344
Reply with quote  #6 
I was talking about a different ML. Not the one you downloaded from GitHub.

http://forums.monkeylogic.org/post/nimh-monkeylogic-8118700?pid=1294744037
0
bttlove2

Junior Member
Registered:
Posts: 0
Reply with quote  #7 
I also come across this problem, have you solve this problem? And how to?
0
Previous Topic | Next Topic
Print
Reply

Quick Navigation: