Matlab Picoscope for Mac

Discussion forum for the Picoscope 6 Mac software
Post Reply
rwreynol
Newbie
Posts: 0
Joined: Tue Jun 02, 2020 11:46 am

Matlab Picoscope for Mac

Post by rwreynol »

Hello,

I am experiencing some difficulty integrating Picoscope 6.14.23.580 and MATLAB 2020a on Catalina 10.15.5. Picoscope 6.14.23.580 was recommended for my Picoscope 5443D MSO on the Picotech website.

1) I cloned the MATLAB Picoscope driver library and MATLAB PS5000a toolbox.
2) I copied over all the libps5000a.dylib, any other libps5000a library files, libpicoipp.dylib, any other libpicoipp library files and libiomp5.dylib into a maci64 directory within my MATLAB PS5000a directory.
3) I ran mex -setup in MATLAB and generated the appropriate thunk files with generatePS5000aPrototypes.m

I had to make some edits to the Matlab script to get all the files to run (My Picoscope 6 installs as Picoscope 6.app not Picoscope6.app). One concern I have is the lap of a libps5000aWrap.dylib. Under /Applications/PicoScope 6.app/Contents/Resources/lib, there is no libps5000aWrap.dylib or any libps5000aWrap files.

I am able to run the Picoscope 6 app and view a 1V square wave as you see below.

The Matlab script seems to be searching for ps5000aWrap.dylib. I understand it claims there is no device connected, but the instructions say to copy all libps5000aWrap files which do not exist. I receive the following error:

Warning: Disconnect: No devices found.
Error using icdevice (line 402)
An error occurred while executing the driver create code.
There was an error loading the library "libps5000aWrap.dylib"

Randall

wigen
Newbie
Posts: 0
Joined: Mon Jul 05, 2021 8:56 am

Re: Matlab Picoscope for Mac

Post by wigen »

Hi. Did you find a solution for this problem?

rwreynol
Newbie
Posts: 0
Joined: Tue Jun 02, 2020 11:46 am

Re: Matlab Picoscope for Mac

Post by rwreynol »

No. I did not find a solution, nor have I heard from Picotech.

Post Reply