Which toolbox includes hPre6GCPU?

8 views (last 30 days)
Wei-Shun
Wei-Shun on 2 Sep 2025
Commented: Wei-Shun on 3 Sep 2025
I want to try the cell-free MIMO example in:
However, the function "hPre6GCPU" can not be found.
Which toolbox should I install to solve this problem?

Accepted Answer

Steven Lord
Steven Lord on 2 Sep 2025
The Appendix section at the end of that example states that hPre6GCPU is a helper function. Copy the command to open the example (using the "Copy Command" button near the upper-right corner of the example page) and run that command in MATLAB. Assuming you have 5G Toolbox installed and are using release R2024b or later, since that's when this example says it was introduced, MATLAB should automatically change to the folder containing those helper functions for the example.
  1 Comment
Wei-Shun
Wei-Shun on 3 Sep 2025
After I updated to R2025a and installed 5g Toolbox + Communication Toolbox + Communication Toolbox Wireless Network Simulation Library, I can run the following example:
openExample('5g/EvaluatePerformanceOfCellFreemMIMONetworksExample')
Thank you for your anwser!!

Sign in to comment.

More Answers (1)

Andreas Goser
Andreas Goser on 2 Sep 2025
The link is part of the "5G Toolbox" documentation -> That is the product of interest.
  2 Comments
Andreas Goser
Andreas Goser on 2 Sep 2025
My answer was probably premature. I tried to run the example and get (different) errors, so probably a person with better application or domanin knowledge should help you.
Wei-Shun
Wei-Shun on 3 Sep 2025
After I updated to R2025a and installed 5g Toolbox + Communication Toolbox + Communication Toolbox Wireless Network Simulation Library, I can run the following example:
openExample('5g/EvaluatePerformanceOfCellFreemMIMONetworksExample')
Anyway, thank you for your anwser!!

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!