20. February 2018 at 15:15
#9389
Tom Aird
Participant
Dear Fjolla,
I can assure you that LTE_sim_main(LTE_config) is only called once in the launcher file. The full launcher file is:
close all force;
clc;
cd C:\Users\Tom\Documents\MATLAB
simulation_type = 'tri_sector';
% Possible simulation types now:
% - 'tri_sector', 'tri_sector_3D'
% - 'tri_sector_tilted', 'tri_sector_tilted_4x2', 'tri_sector_tilted_4x4'
% - 'tri_sector_plus_femtocells'
% - 'six_sector_tilted'
% - 'capesso_pathlossmaps'
% - 'omnidirectional_eNodeBs'
%% Base configuration
LTE_config = LTE_load_params(simulation_type);
LTE_config.nTX = 1;
LTE_config.nRX = 1;
LTE_config.tx_mode = 7;
LTE_config.scheduler = 'round robin';
LTE_config.antenna.antenna_gain_pattern = 'TS 36.942';
LTE_config.UE_distribution = 'constant UEs per cell';
LTE_config.UE_per_eNodeB = 50;
LTE_config.simulation_time_tti = 10;
LTE_config.macroscopic_pathloss_model = 'TS36942';
LTE_config.shadow_fading_type = 'none';
LTE_config.sector_azimuths = 0:360/3:359; % 3 sectors
LTE_config.trace_version = 'v2';
LTE_config.support_beamforming = 1;
LTE_config.keep_UEs_still = true;
LTE_config.network_geometry = 'regular_hexagonal_grid';
LTE_config.show_network = 0;
LTE_config.channel_model.type = 'winner+';
LTE_config.default_shown_GUI_cells = [13 14 15];
LTE_config.compute_only_center_users = true;
LTE_config.debug_level = 0;
LTE_config.compact_results_file = true;
ticIdx = tic;
output_results_file = LTE_sim_main(LTE_config);
time = toc(ticIdx);
simulation_data = load(output_results_file);
GUI_handles.aggregate_results_GUI = LTE_GUI_show_aggregate_results(simulation_data);
GUI_handles.positions_GUI = LTE_GUI_show_UEs_and_cells(simulation_data,GUI_handles.aggregate_results_GUI);