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
Walter Roberson 2014-3-31

类别

Help CenterFile Exchange 中查找有关 String Parsing 的更多信息

标签

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by