From: Amin on
Hi,

My DAQ-Board is connected to a Sensor, which needs to be Digital clocked with 40 kHz Frequency (ca. 26µs), because my DAQ-Board dont support Analog-Output.
I was reading a lot of Documentations from Mathworks and looking around on the Net.
But unfortunatly didnt found what I need.
Now I figured that I must use a MEX-File to generate this Clock, because Matlab can´t do that for such small frequency.
With the Driver of my DAQ-Board vendor I have many APIs Codes in C++, VB and ActiveX.
My Question is : how can I use an API at will to see If it works for the required Signal ?
Which Steps are required to be able to load an API from athor Directory to MATLAB ?
And is there any examples for outputing such small frequency signal with a DAQ-Board ?
Must I make changes on the "C" Source Code in MATLAB or in a C-Compiler ?
I m a newbie in

Any suggestions or Ideas are Welcome

Regards