Why am I unable to read binary data using FSCANF?
1 view (last 30 days)
Show older comments
MathWorks Support Team
on 14 Jan 2010
Edited: MathWorks Support Team
on 13 Dec 2021
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).
Accepted Answer
MathWorks Support Team
on 10 Dec 2021
Edited: MathWorks Support Team
on 13 Dec 2021
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:
0 Comments
More Answers (0)
See Also
Categories
Find more on Large Files and Big Data in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!