Single bit read returning invalid precision

7 vues (au cours des 30 derniers jours)
John Ev
John Ev le 13 Juin 2022
Commenté : Walter Roberson le 13 Juin 2022
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.
  1 commentaire
Walter Roberson
Walter Roberson le 13 Juin 2022
Which MATLAB version are you using?

Connectez-vous pour commenter.

Réponses (1)

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

Catégories

En savoir plus sur Data Import and Analysis dans Help Center et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by