HARQEntity function does not get executed

When I try to execute HARQEntity function that is in one of MATLAB's examples, I get this message:
'HARQEntity' is used in the following examples:
DL-SCH and PDSCH Transmit and Receive Processing Chain
Model 5G NR Transport Channels with HARQ
NR PDSCH Throughput
NR PUSCH Throughput
6G Link-Level Simulation
NR NTN PDSCH Throughput
I tried to run NR PUSCH Throughput example and when it reaches HARQEntity Function the script give an undescriptive error.

回答(1 个)

Do you have a licence for MATLAB's 5G Toolbox, and is it properly installed ?
Use
license checkout matlab_5g_Toolbox
ans = 1
to see if the license is working properly.
Answer should be 1.
Which MATLAB version do you use ? If it's older than R2021b, the function is missing - it was released in R2021b.

2 个评论

I'm using MATLAB 2024b.
I do have a 5G toolbox license:
license checkout matlab_5g_Toolbox
ans =
1
But I'm not able to find HARQEntity.m
Here is the path where it was saved in an older MATLAB version:
Do the examples where the function is used work for you, e.g.
openExample('5g/Modeling5GNRTransportChannelsWithHARQExample')
?
If you still have problems running the example, contact MATLAB Technical Support:

请先登录,再进行评论。

类别

帮助中心File Exchange 中查找有关 Signal Integrity Kits for Industry Standards 的更多信息

标签

提问:

2025-7-31

编辑:

2025-8-1

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by