The 5G Network Modeling Workshop offers hands-on exercises designed to teach the end-to-end 5G network modeling workflow in MATLAB. With minimal coding effort, you'll be able to create a 5G scenario. This includes configuring various 5G network nodes, defining their positions, adding mobility and traffic models, and specifying the channel model. You will be able to simulate the 5G scenario, visualize network behavior, and evaluate performance metrics.
This content is intended for 5G system engineers and PHY/MAC engineers who are currently using, or interested in exploring, system-level 5G wireless network simulations in MATLAB. It is also relevant to scientists and engineers engaged in 5G standards development.
This workshop will help attendees to:
- Understand how to create and configure gNB and UE nodes, setup the 5G Network and simulate the network/ capture statistics and explore visualization tools.
- Model the 5G scenario using 3GPP TR 38.901 Channel models, create and plug a custom channel model into the simulated 5G network.
- Simulate a multicell interference scenario and measure the impact on network performance due to downlink (DL) intercell interference caused by nearby cells
- Create and plug a custom resource-scheduling strategy in a 5G network, introduce custom traffic patterns, and mobility profiles to the 5G Nodes.
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.