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!