MATLAB: Am I unable to acquire at 50K samples/second on 2 channels with the Measurement Computing USB device

1208fs16081608fs1616fscomputingData Acquisition Toolboxmccmeasurementpmdratesampleusb

If I attempt the following:
ai=analoginput('mcc', 1);
ch=addchannel(ai, 0:1);
set(ai,'SampleRate', 50000);
set(ai,'SamplesPerTrigger',50000);
start(ai);
I receive the error message:
??? Error using ==> daqdevice.start
MCC: The maximum continuous-mode sample rate has been exceeded. The
total points acquired cannot be greater than FIFO size. See device
specifications for more information.
However, the hardware specifications allow me to acquire 2 channels at 50K samples/sec.

Best Answer

This bug has been fixed in Release 2007a (R2007a). For previous product releases, read below for any possible workarounds:
This has been verified as a bug in the Data Acquisition Toolbox 2.5 (R14). Currently, the maximum data rate for 2 channels on the PMD-1208FS, PMD-1616FS, and PMD-1608FS is 25,000 samples per second. If you need to acquire at rates greater than 25,000 samples per second, the following will work around the problem:
1. Quit MATLAB.
2. Copy the file
$MATLAB\toolbox\daq\daq\private\mwmcc.ini
to mwmcc.ini.old
(where $MATLAB is the MATLAB root directory on your machine, as returned by typing
matlabroot
at the MATLAB command prompt).
3. Open the file $MATLAB\toolbox\daq\daq\private\mwmcc.ini for editing.
4. Search for the text [PMD-1608FS] (or [PMD-1208FS]).
5. Change the AIMaxContSR entry from 50000 to 100000.
6. Save the file.
7. Restart MATLAB.