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 Commento

Jan
Jan il 17 Nov 2011
What exactly does "next line" mean in a binary file?

Accedi per commentare.

Risposte (1)

Voss
Voss il 28 Dic 2021

0 voti

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.

Categorie

Scopri di più su Get Started with MATLAB in Centro assistenza e File Exchange

Tag

Richiesto:

il 17 Nov 2011

Risposto:

il 28 Dic 2021

Community Treasure Hunt

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

Start Hunting!

Translated by