From a40acec4af5b63b65c9780582a21b181ba4bdfa2 Mon Sep 17 00:00:00 2001
From: jiangx <jiangx@eurecom.fr>
Date: Fri, 3 Apr 2015 10:09:03 +0000
Subject: [PATCH] binread input changed for 64bits systems

git-svn-id: http://svn.eurecom.fr/openair4G/trunk@7011 818b1a75-f10b-46b9-bf7c-635c3b92a50f
---
 openair1/EMOS/LTE/IMPORT_FILTER/load_estimates_lte_new.m | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/openair1/EMOS/LTE/IMPORT_FILTER/load_estimates_lte_new.m b/openair1/EMOS/LTE/IMPORT_FILTER/load_estimates_lte_new.m
index b7ecc79112b..64da83bde68 100644
--- a/openair1/EMOS/LTE/IMPORT_FILTER/load_estimates_lte_new.m
+++ b/openair1/EMOS/LTE/IMPORT_FILTER/load_estimates_lte_new.m
@@ -103,10 +103,10 @@ for n=1:NFiles
 
     while (~feof(fid) && (k <= min(sum(NFrames_file(1:n)),NFrames_max)))
 
-        if (is_eNb)
-            estimates_tmp = binread(fid,fifo_dump_emos_struct_eNb,1,4,'l'); 
+        if (is_eNb) 
+            estimates_tmp = binread(fid,fifo_dump_emos_struct_eNb,1,align,'l'); 
         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
 
         if (mod((k-1),decimation) == 0)
@@ -118,7 +118,7 @@ for n=1:NFiles
         
         %read GPS data
         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;
         end
         k=k+1;
-- 
GitLab