Filter löschen
Filter löschen

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

2 Ansichten (letzte 30 Tage)
RENJI
RENJI am 15 Feb. 2023
Beantwortet: Jan am 15 Feb. 2023
I get some special symbols for large arrays and for small arrays I could write the characters.

Antworten (1)

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

Kategorien

Mehr zu Characters and Strings finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by