nitfread not working Matlab2020a Windows 10

조회 수: 4 (최근 30일)
Shane Sullivan
Shane Sullivan 2020년 8월 11일
답변: Shane Sullivan 2020년 8월 20일
Is anybody else having trouble with the nitf functions in Matlab 2020a? Nothing seems to be working correctly, even with standard data sets for testing.
  댓글 수: 6
Kojiro Saito
Kojiro Saito 2020년 8월 19일
@Shane
What your testing.m looks like? We need how you call nitfread function in your cusom codes.
Shane Sullivan
Shane Sullivan 2020년 8월 20일
It is literally an empty script that just has
ntftest = nitfread('FileName.ntf'); %Where filename is the correct file name, just removed long filename from here

댓글을 달려면 로그인하십시오.

채택된 답변

Shane Sullivan
Shane Sullivan 2020년 8월 20일
I solved the issue. I edited the Mathworks .m file @ 'C:\Program Files\MATLAB\R2020a\toolbox\images\iptformats\nitfinfo.m
And replaced line 255 with (cast to unit64), hopefully Mathworks can fix this in the next update for everyone.
%out = out + sscanf(in(ndigits - i + 1), '%d') * uint64(10)^(i - 1);
out = out + uint64(sscanf(in(ndigits - i + 1), '%d')) * uint64(10)^(i - 1);

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Read and Write Image Data from Files에 대해 자세히 알아보기

제품


릴리스

R2020a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by