Problems with Matlab 2023b and Picoscope 4227

Post your MATLAB discussions here
Post Reply
pietro98
Newbie
Posts: 0
Joined: Thu Nov 09, 2023 4:28 pm

Problems with Matlab 2023b and Picoscope 4227

Post by pietro98 »

Good evening, I'm trying to use my picoscope 4227 with matlab 2023b, looking at the forum I've installed the followings:
- instrument tool box
- picosdk-ps4000-matlab-instrument-driver
- widSDK 7.1
- picoSDK

when using the fuction in mathlab: ps4000DeviceObj = icdevice('picotech_ps4000_generic.mdd')


I get the following error:


Warning: Disconnect: No devices found.
Error using icdevice
An error occurred while executing the driver create code.
There was an error loading the library "ps4000Wrap.dll"
The specified module could not be found.


If the error is not an instrument error, use MIDEDIT to inspect the driver.

I don't think this is a hardware problem because I can use the picoscope in oscilloscope mode via the T and M picoscope software.
Thanks for the help in advanced.

Martyn
Site Admin
Site Admin
Posts: 4461
Joined: Fri Jun 10, 2011 8:15 am
Location: St. Neots

Re: Problems with Matlab 2023b and Picoscope 4227

Post by Martyn »

You will also need to add "PicoScope Support Toolbox" from AddOn manager

Download ps4000awrap.dll from
https://github.com/picotech/picosdk-c-w ... s%2064-bit

and put this in

C:\Program Files\Pico Technology\SDK\lib

Hopefully that will get you going.
Martyn
Technical Support Manager

pietro98
Newbie
Posts: 0
Joined: Thu Nov 09, 2023 4:28 pm

Re: Problems with Matlab 2023b and Picoscope 4227

Post by pietro98 »

Thank you, we solved the problem already, we were missing the file you suggested us to add. Now works perfectly.
Best regards, Pietro
Happy new year

Post Reply