MATLAB: Write 24-bit binary

fwrite precision 24-bit

Hi, I wonder if it is possible to write a binary file (ie: fwrite) with 24-bit precision in Matlab (2010b)? I use Matlab for generating a waveform which is later being read by Labview and presented through a NI 24-bit DAC (NI PCI-4461) with 200 kHz.
Thanks a lot for your support,
Pribislav

Best Answer

Have you tried using a specification of bit24 for the precision in fwrite() ?