Error running the example scripts on Matlab

Having problems ? let us know the details here
Post Reply
jasmin287
Newbie
Posts: 1
Joined: Mon Aug 15, 2016 9:21 am

Error running the example scripts on Matlab

Post by jasmin287 » Mon Aug 15, 2016 9:32 am

Hi all,

I am new to Pico and trying to connect the current working device (PicoScope 4262) to Matlab R2015b on Windows 10.

I have succefully installed Win. SDK 7.1, and mex -setup does recognize it, and worked by this procedure to install all components (according to Answer 1):

https://www.mathworks.com/matlabcentral ... ol-toolbox

But, when trying to run PS4000A_IC_Generic_Driver_Block.m script, Iget the following error messege:

Code: Select all

Error using instrument/delete (line 82)
Operation failed: An error occurred while executing the driver disconnect code.
Unit not closed.
If this error is not an instrument error, use MIDEDIT to inspect the driver.

Error in icdevice (line 308)
                delete(obj);

Error in PS4000A_IC_Generic_Driver_Block (line 44)
ps4000aDeviceObj = icdevice('picotech_ps4000a_generic.mdd');
Any help would be appreciated,

Many thanks!

Jasmine

Hitesh
Site Admin
Site Admin
Posts: 2793
Joined: Tue May 31, 2011 3:43 pm
Location: St. Neots, Cambridgeshire

Re: Error running the example scripts on Matlab

Post by Hitesh » Mon Aug 15, 2016 2:18 pm

Hi Jasmine,

The PicoScope 4262 uses the API functions provided by the ps4000 driver.

Please use the following Instrument Driver package for the PicoScope 4000 Series.

Regards,
Hitesh

Technical Support Engineer

Post Reply