How to open a part of data in the bin file
Show older comments
Hello. First of all, I do not know about the bin file well.
I have a bin file having the enormous data, all data is number. From that, I just want to import the 7,200 values from the beginning as 80 by 90 array.
So, I make a code is like this.
fileID = fopen('name.bin','w');
Data=fwrite(fileID,[80 90],'double);
fclose(fileID);
But the results are "fileID=1" and "Data=0", fileID is added one as I run the code.
What do these mean? How I can import the data of bin?
please help me.
Thanks for reading my question.
Accepted Answer
More Answers (0)
Categories
Find more on Data Import and Export 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!