This repo contains the files required to run the hands-on 5G network modeling workshop in MATLAB®. The "Exercise" files require code additions to
run. The "Solution Scripts" files have the required code additions and run
to completion.
The files enable the following exercises:
- Exercise 1 - Operate the simulation engine, configure 5G nodes, create a simple network, and see statistics
- Exercise 2 - Plug a custom downlink channel into the simulated 5G network
- Exercise 3 - 5G Intercell Interference Modeling
- Exercise 4 - Plug a custom scheduler into the 5G network model
To Run:
- To conduct the workshop, use the "Exercise" files
- To simply run the completed exercises, run the following files in MATLAB:
- EX1_NR_Simplest_Network_Soln.mlx
- EX2_NR_Custom_Channel_Soln.mlx
- EX3_NR_Interference_Modeling_Soln.mlx
- EX4_NR_Custom_Scheduler_Soln.mlx
MathWorks Products (https://www.mathworks.com)
Requires MATLAB release R2024b or newer
- Communications Toolbox Wireless Network Simulation Library;
- 5G Toolbox™
- DSP System Toolbox™
- Communications Toolbox™
- Signal Processing Toolbox™
3p:
- None
See https://www.mathworks.com/help/5g/system-level-simulation.html
To see additional 5G network simulation examples that perform
similar workflows as those in the workshop, see:
The license for the 5G-Network-Modeling-Workshop is available in the LICENSE.TXT file in this GitHub repository.
Copyright 2025 The MathWorks, Inc.