How can I import bin file?
Show older comments
Hello I am a beginner. I have a binary file and I want to read that and save in a matrix. I tried this code:
FID=fopen('vpt.bin', 'w'); C=fread(FID); fclose(FID); But it just shows the ans=0
I don't know what is the problem?
Accepted Answer
More Answers (0)
Categories
Find more on Low-Level File I/O in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!