Commit a40acec4 authored by jiangx's avatar jiangx

binread input changed for 64bits systems

git-svn-id: http://svn.eurecom.fr/openair4G/trunk@7011 818b1a75-f10b-46b9-bf7c-635c3b92a50f
parent f4f69fe6
...@@ -103,10 +103,10 @@ for n=1:NFiles ...@@ -103,10 +103,10 @@ for n=1:NFiles
while (~feof(fid) && (k <= min(sum(NFrames_file(1:n)),NFrames_max))) while (~feof(fid) && (k <= min(sum(NFrames_file(1:n)),NFrames_max)))
if (is_eNb) if (is_eNb)
estimates_tmp = binread(fid,fifo_dump_emos_struct_eNb,1,4,'l'); estimates_tmp = binread(fid,fifo_dump_emos_struct_eNb,1,align,'l');
else else
estimates_tmp = binread(fid,fifo_dump_emos_struct_UE,1,4,'l'); estimates_tmp = binread(fid,fifo_dump_emos_struct_UE,1,align,'l');
end end
if (mod((k-1),decimation) == 0) if (mod((k-1),decimation) == 0)
...@@ -118,7 +118,7 @@ for n=1:NFiles ...@@ -118,7 +118,7 @@ for n=1:NFiles
%read GPS data %read GPS data
if ((mod(k,NO_ESTIMATES_DISK)==0) && ~feof(fid)) if ((mod(k,NO_ESTIMATES_DISK)==0) && ~feof(fid))
gps_data(l) = binread(fid,gps_data_struct,1,4,'l'); gps_data(l) = binread(fid,gps_data_struct,1,align,'l');
l=l+1; l=l+1;
end end
k=k+1; k=k+1;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment