MATLAB Answers

0

Undefined function or variable 'hNRDownli​nkWaveform​Generator'

Asked by Mark Berg on 17 Jul 2019
Latest activity Answered by Kaashyap Pappu on 25 Jul 2019
I have the 5G toolbox installed and I get the above error when running an example.

  1 Comment

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.

Tags

Products

1 Answer

Answer by 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.

  0 Comments

Sign in to comment.