I put my routine on this link, please download it.
Before you compile it, you've to set the path to matlab and nidaq in
square preferences. You've also to download NIDAQ from
I'm not familiar with the CW and C++. So I made this routine by using
Ben's IOCard_nidaq.mex (the above link) and Alaa Makdissi daq.dll
I used CW7.0 in Mac to compile it and got this error message
Link error: undefined _cut_fp2unsigned' (code)
Reference from _get_numeric <UL> (const mxArray_tag*,
unsigned long*)' in
I will appreciate if you could give me any suggestion about this.