Undefined function or variable 'hNRDownli​nkWaveform​Generator'

2 views (last 30 days)
Mark Berg
Mark Berg on 17 Jul 2019
Answered: Kaashyap Pappu on 25 Jul 2019
I have the 5G toolbox installed and I get the above error when running an example.
  1 Comment
Mario Chiappelli
Mario Chiappelli on 18 Jul 2019
Please show us some code for context. Are you importing the proper libraries? Was it properly installed?
Maybe share a screenshot of the exact error message.

Sign in to comment.

Answers (1)

Kaashyap Pappu
Kaashyap Pappu on 25 Jul 2019
The “hNRDownlinkWaveformGenerator” is a helper function that was introduced in the 5G toolbox that is available in all releases starting from MATLAB 2018b. It is used in the “hNRDownlinkWaveformGeneratorExample” for complex baseband waveform generation, as mentioned.
Access the documentation link here for MATLAB R2019a or here for MATLAB R2018b and click on “Try it in MATLAB”, and execute the command provided in the command window of MATLAB. This will open the example if the 5G toolbox is installed properly. In case the problem persists, try reinstalling the toolbox.
In case of MATLAB 2018a, the helper function is unavailable, therefore will not work, even with the LTE 5G library installed.



Community Treasure Hunt

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

Start Hunting!