Why am I unable to read binary data using FSCANF?

I am trying to read binary data using FSCANF. My code used to run fine till MATLAB 7.0 (R14SP3). However, I am unable to use the same to code to read data in MATLAB 7.7 (R2008b).

 Réponse acceptée

MathWorks Support Team
MathWorks Support Team le 10 Déc 2021
Modifié(e) : MathWorks Support Team le 13 Déc 2021

0 votes

This change has been incorporated into the documentation in MATLAB 7.9 (R2009b). For previous releases, read below for any additional information:
FSCANF can only be used to read formatted data from a file. To read binary data from a file, please use the FREAD function. To learn more about the FREAD function, please refer to the following link:
Additional information can also be found in the following technical note:

Plus de réponses (0)

Catégories

En savoir plus sur Large Files and Big Data dans Centre d'aide et File Exchange

Produits

Version

R2008b

Community Treasure Hunt

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

Start Hunting!

Translated by