How to write ASCII characters corresponding to decimal numbers into a file?
5 次查看(过去 30 天)
显示 更早的评论
I get some special symbols for large arrays and for small arrays I could write the characters.
回答(1 个)
Jan
2023-2-15
This writes the character 'A' at the current file position:
n = 65;
fwrite(fid, n, 'char')
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Data Type Conversion 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!