Why am I unable to read binary data using FSCANF?
8 次查看(过去 30 天)
显示 更早的评论
MathWorks Support Team
2010-1-14
编辑: MathWorks Support Team
2021-12-13
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).
采纳的回答
MathWorks Support Team
2021-12-10
编辑:MathWorks Support Team
2021-12-13
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 个评论
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Large Files and Big Data 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!