PicoScope 5204 Matlab Driver

Post your MATLAB discussions here
Post Reply
Posts: 0
Joined: Thu Mar 07, 2013 6:09 pm

PicoScope 5204 Matlab Driver

Post by Yavor » Fri Mar 08, 2013 9:50 am

Can you advise me on how to parse ps5000Api.h so that my ps5000MFile.m will have the following function included:

PICO_STATUS ps5000Ready (short handle, short * ready);

Any suggestions are welcomed.

Advanced User
Advanced User
Posts: 2856
Joined: Tue May 31, 2011 3:43 pm
Location: St. Neots, Cambridgeshire

Re: PicoScope 5204 Matlab Driver

Post by Hitesh » Fri Mar 08, 2013 12:01 pm

Hi Yavor,

Please ensure that the PS5000.dll, ps5000Api.h and picoStatus.h files are in the same folder.

In the ps5000Api.h file, ensure that the line to include picoStatus.h does not have a '../' prior to the file name i.e.

Code: Select all

#include "picoStatus.h"
Then in the MATLAB command window type:

Code: Select all

loadlibrary 'PS5000.dll' 'ps5000Api.h' mfilename 'PS5000MFile'
The output file produced should contain a line beginning with


I hope this helps.

Software Dev. Engineer

Post Reply