nitfread not working Matlab2020a Windows 10

5 visualizaciones (últimos 30 días)
Shane Sullivan
Shane Sullivan el 11 de Ag. de 2020
Respondida: Shane Sullivan el 20 de Ag. de 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 comentarios
Kojiro Saito
Kojiro Saito el 19 de Ag. de 2020
@Shane
What your testing.m looks like? We need how you call nitfread function in your cusom codes.
Shane Sullivan
Shane Sullivan el 20 de Ag. de 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

Iniciar sesión para comentar.

Respuesta aceptada

Shane Sullivan
Shane Sullivan el 20 de Ag. de 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);

Más respuestas (0)

Productos


Versión

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by