How to convert Binary image into a text file ?
이전 댓글 표시
I am working on a project of IC sorting and can't find a way to convert the binary image in to a textfile
답변 (3개)
Azzi Abdelmalek
2015년 6월 7일
편집: Azzi Abdelmalek
2015년 6월 7일
dlmwrite(Text_FileName,Your_Image)
Walter Roberson
2015년 6월 7일
T = cellstr(char(BinaryImage + '0'));
fid = fopen('YourFile.txt', 'wt');
fprintf('%s\n', T{:});
fclose(fid);
jhon frulay
2023년 4월 2일
0 개 추천
This is not for programing but just if you want to see the binary code do this.
open a file thats not a text encoding and you get something like this:
댓글 수: 1
Walter Roberson
2023년 4월 2일
On Mac and Linux systems, I recommend using the operating-system supplied od utility to examine the content of binary files.
카테고리
도움말 센터 및 File Exchange에서 Language Support에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!