How to write ASCII characters corresponding to decimal numbers into a file?
2 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
I get some special symbols for large arrays and for small arrays I could write the characters.
2 commentaires
Réponses (1)
Jan
le 15 Fév 2023
This writes the character 'A' at the current file position:
n = 65;
fwrite(fid, n, 'char')
0 commentaires
Voir également
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!