Effacer les filtres
Effacer les filtres

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

2 vues (au cours des 30 derniers jours)
RENJI
RENJI le 15 Fév 2023
Réponse apportée : Jan le 15 Fév 2023
I get some special symbols for large arrays and for small arrays I could write the characters.

Réponses (1)

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

Catégories

En savoir plus sur Characters and Strings dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by