Why do I get an "Unrecognized function or variable" when I enter the command: hNRVerifyC​arrierPara​meters

Following the steps in the 5G NR Downlink Carrier Aggregation, Demodulation, and Analysis. In the Selection of Component Carrier Parameters, all commands accepted until the final command which is: hNRVerifyCarrierParameters; For some reason MatLab does not recognize the command. I cannot see why.

 Accepted Answer

I understand that you are referring to the documentation titled '5G NR Downlink Carrier Aggregation, Demodulation, and Analysis.'
The function 'hNRVerifyCarrierParameters' is not an inbuilt function. Instead, it is a helper function located under the example 'NRDownlinkCarrierAggregationExample.' Its purpose is to verify various parameters, including the number of CCs, channel bandwidths, subcarrier spacings, modulations, and spacings. Additionally, it checks that the spacings are greater than 0.
You can find the function definition in the documentation by following this link:
To load the necessary functions and files required for the above example, you can use the following command:
>> openExample('5g/NRDownlinkCarrierAggregationExample')
This command will ensure that you have access to the required functions and files for the example.

More Answers (0)

Categories

Products

Release

R2023b

Tags

Asked:

on 30 Sep 2023

Answered:

on 3 Oct 2023

Community Treasure Hunt

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

Start Hunting!