Borrar filtros
Borrar filtros

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

2 visualizaciones (últimos 30 días)
RENJI
RENJI el 15 de Feb. de 2023
Respondida: Jan el 15 de Feb. de 2023
I get some special symbols for large arrays and for small arrays I could write the characters.

Respuestas (1)

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

Categorías

Más información sobre Characters and Strings en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by