1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2024-12-15 04:30:33 +00:00

Bug fix in MATLAB tracking dump reader

This commit is contained in:
Javier Arribas 2019-03-15 12:59:32 +01:00
parent 225742c5e9
commit 3a399629ee

View File

@ -88,7 +88,11 @@ else
v7 = fread (f, count, 'float', skip_bytes_each_read - float_size_bytes); v7 = fread (f, count, 'float', skip_bytes_each_read - float_size_bytes);
bytes_shift = bytes_shift + float_size_bytes; bytes_shift = bytes_shift + float_size_bytes;
fseek(f,bytes_shift,'bof'); % move to next interleaved float fseek(f,bytes_shift,'bof'); % move to next interleaved float
v8 = fread (f, count, 'long', skip_bytes_each_read - unsigned_long_int_size_bytes); if unsigned_long_int_size_bytes==8
v8 = fread (f, count, 'uint64', skip_bytes_each_read - unsigned_long_int_size_bytes);
else
v8 = fread (f, count, 'uint32', skip_bytes_each_read - unsigned_long_int_size_bytes);
end
bytes_shift = bytes_shift + unsigned_long_int_size_bytes; bytes_shift = bytes_shift + unsigned_long_int_size_bytes;
fseek(f,bytes_shift,'bof'); % move to next float fseek(f,bytes_shift,'bof'); % move to next float
v9 = fread (f, count, 'float', skip_bytes_each_read - float_size_bytes); v9 = fread (f, count, 'float', skip_bytes_each_read - float_size_bytes);