Specify whether valid sample rates snap to small set of standard values, or if you can set sample rate to any allowed value
Note: You cannot use the legacy interface on 64-bit MATLAB®. See About the Session-Based Interface to acquire and generate data on a 64-bit MATLAB.
StandardSampleRates can be
then it is possible to set the sample rate to any value within the
bounds supported by the hardware. For most sound cards, the lower
bound is 8.000 kHz, while the upper bound is 44.1 kHz. For newer sound
cards, an upper bound of 96.0 kHz might be supported. The specified
sample rate is rounded up to the next integer value.
then the available sample rates snap to a small set of standard values.
The standard values are 8.000 kHz, 11.025 kHz, 22.050 kHz, and 44.100
kHz. If you specify a sampling rate that is within one percent of
a standard value, then the sampling rate snaps to that standard value.
If you specify a sampling rate that is not within one percent of a
standard value, then the sampling rate rounds up to the closest standard
Regardless of the
if you specify a sampling rate that is outside the allowed limits,
then an error is returned.
AI, AO, common to all channels
Read-only when running
The sample rate can be set only to a small set of standard values.
If supported by the hardware, the sample rate can be set to any value within the allowed bounds, up to a maximum of 96.0 kHz.