fix for MAC UE_list->next[i] when next element does not exist, fix for OTGplot warning

git-svn-id: http://svn.eurecom.fr/openair4G/trunk@6818 818b1a75-f10b-46b9-bf7c-635c3b92a50f
This commit is contained in:
Navid Nikaein
2015-03-16 21:04:29 +00:00
parent 6fc46b66e5
commit eaa9d0fc81
2 changed files with 5 additions and 4 deletions
+3 -3
View File
@@ -35,7 +35,7 @@ endwhile
labels=[labels; strcat("-@;",s,";") ]; # add the last string (Aggregate-Flow)
if nargin>1
mask=intersection(str2num(arg_list{2}),1:size(labels,1));
mask=intersect(str2num(arg_list{2}),1:size(labels,1));
else
mask=1:size(labels,1);
endif
@@ -48,8 +48,8 @@ endif
# read data
data=fscanf(f,"%f",[size(labels,1)+1,Inf])';
temp=split(strrep(inputf,"\\","/"),"/");
outputf=split(deblank(temp(size(temp,1),:)),".");
temp=char(strsplit(strrep(inputf,"\\","/"),"/"));
outputf=char(strsplit(deblank(temp(size(temp,1),:)),"."));
ylbl=outputf(1,:);
#ylbl(1,1)=toupper(ylbl(1,1));