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).

 Akzeptierte Antwort

MathWorks Support Team
MathWorks Support Team am 10 Dez. 2021
Bearbeitet: MathWorks Support Team am 13 Dez. 2021

0 Stimmen

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:

Weitere Antworten (0)

Kategorien

Mehr zu Large Files and Big Data finden Sie in Hilfe-Center und File Exchange

Produkte

Version

R2008b

Community Treasure Hunt

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

Start Hunting!

Translated by