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