Single bit read returning invalid precision

7 views (last 30 days)
code to read a .wdq file is returning an invalid precision error when reading one bit.
info.hiResFile = fread(fid, 1, '*ubit1');
is the line refrenced in this error:
error: fread: invalid PRECISION specified
but as far as I can tell '*ubit1' is a valid precision value to read a single bit of data.

Answers (1)

David Hill
David Hill on 13 Jun 2022
b=fread('a.wdq',1,'ubit1');%this does not work?

Categories

Find more on Data Import and Analysis in Help Center and File Exchange

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!