Read Binary to Ascii, Write it again to a binary file
2 次查看(过去 30 天)
显示 更早的评论
I have a binary file, with the structure: integer x 4, character x 1, byte x 1, double x 8, double x 8, double x 8, double x 8, double x 8, unsigned character x 1
Now how can i read it in Matlab considering that there is not only one row with this structure, but thousand rows?
Then i want to write it to exactly the same binary file! I'm using the functions: fread and fwrite, but i don't get any reasonable result so far... Can anyone help?
1 个评论
Walter Roberson
2014-3-31
Are you wanting to update the file? Or are you wanting to make a copy of the file?
回答(1 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 String Parsing 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!