nitfread not working Matlab2020a Windows 10

4 vues (au cours des 30 derniers jours)
Shane Sullivan
Shane Sullivan le 11 Août 2020
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 commentaires
Kojiro Saito
Kojiro Saito le 19 Août 2020
@Shane
What your testing.m looks like? We need how you call nitfread function in your cusom codes.
Shane Sullivan
Shane Sullivan le 20 Août 2020
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

Connectez-vous pour commenter.

Réponse acceptée

Shane Sullivan
Shane Sullivan le 20 Août 2020
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);

Plus de réponses (0)

Produits


Version

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by