newline
4 次查看(过去 30 天)
显示 更早的评论
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 个)
Voss
2021-12-28
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.
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Data Type Conversion 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!