Reply To: Single Traffic Model

#5607
Sepideh
Participant

1- go to LTE_trafficmodel.m and change the probability distribution of each file .
2- go to +traffic model and change the properties of each traffic type that you want.
3- TrafficTypes = zeros(1,N_UE);
for u_ = 1:N_UE
attached_UEs(u_).traffic_model.type;
if strcmp(attached_UEs(u_).traffic_model.type,’voip’)
TrafficTypes=1;
elseif strcmp(attached_UEs(u_).traffic_model.type,’video’)
TrafficTypes =2;
elseif strcmp(attached_UEs(u_).traffic_model.type,’gaming’)
TrafficTypes=3;
elseif strcmp(attached_UEs(u_).traffic_model.type,’http’)
TrafficTypes =4
else
TrafficTypes = 5;
end
end