Help me to open .bin file
조회 수: 16 (최근 30일)
이전 댓글 표시
Dear Everyone,
Anyone can help me to open the .bin file as attached.
I cannot open it.
Please help me.
댓글 수: 0
채택된 답변
Walter Roberson
2024년 10월 23일
No, we cannot help.
The ".bin" file extension is used by arbitrary file formats, with no standardization. You need additional information about the details of how this particular file is stored.
Is there also a ".hdr" file with the .bin file?
댓글 수: 3
Walter Roberson
2024년 10월 23일
fid = fopen('model1_128_atn_1.bin');
Nslices = 128;
data = zeros(128,128,Nslices);
for K = 1 : Nslices
data(:,:,K) = fread(fid, [128 128], '*float32');
end
fclose(fid);
data = rescale(data);
volshow(data)
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 National Instruments Frame Grabbers에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!