Error using icdevice for picoscope4262

Post your MATLAB discussions here
Post Reply
Posts: 0
Joined: Mon Feb 06, 2023 5:09 pm

Error using icdevice for picoscope4262

Post by fforange »

I used the example PS4000_ID_Block_Example provided in the PS4000 series Matlab instrument driver package.

My system is Windows 10, Matlab 2022b.
MEX configured to use 'MinGW64 Compiler (C)' for C language compilation.

Below is the error I got:
Error using icdevice
An error occurred while executing the driver create code.
There was an error loading the library "C:
If the error is not an instrument error, use MIDEDIT to inspect the

Error in PS4000_ID_Block_Example (line 73)
ps4000DeviceObj = icdevice('picotech_ps4000_generic.mdd');

I have followed multiple threads on how to troubleshoot and connect but still failed. I made sure to have ps4000.dll, ps4000Wrap.dll, ps4000MFile_win64.m, ps4000WrapMFile_win64.m, ps4000Constants.m added in the path for matlab

I tried to install SDK7.1 and NET4.0 which I cannot due to windows 10 being incompatible.

Are there any ways to solve this issue? or do i have to work on a windows 7 PC?

Post Reply