How to write ASCII characters corresponding to decimal numbers into a file?
2 ビュー (過去 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 で Characters and Strings についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!