How to write ASCII characters corresponding to decimal numbers into a file?

6 visualizzazioni (ultimi 30 giorni)
I get some special symbols for large arrays and for small arrays I could write the characters.

Risposte (1)

Jan
Jan il 15 Feb 2023
This writes the character 'A' at the current file position:
n = 65;
fwrite(fid, n, 'char')

Categorie

Scopri di più su Data Type Conversion in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by