Hi, Anybody please help me in solving this problem.. I am writing an array of binary data into a file. After writing each binaryvalue the file pointer is to point to the next line. How to do t his..???
Thanks and regards, soumya

1 个评论

Jan
Jan 2011-11-17
What exactly does "next line" mean in a binary file?

请先登录,再进行评论。

回答(1 个)

Voss
Voss 2021-12-28

0 个投票

You would have to put a newline() character in there, e.g., fprintf(fid,'\n'); The file pointer will then point to the next byte after that, i.e., ready to put the next data or whatever immediately after the newline.

类别

在 帮助中心 和 File Exchange 中查找有关 Data Type Conversion 的更多信息

标签

提问:

2011-11-17

回答:

2021-12-28

Community Treasure Hunt

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

Start Hunting!

Translated by