nitfread not working Matlab2020a Windows 10

4 次查看(过去 30 天)
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 个)

产品


版本

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by