How to solve this error?

7 views (last 30 days)
akanksha srivastav
akanksha srivastav on 28 Aug 2023
Commented: Kiran Kintali on 4 Sep 2023
how to solve this error?
block_comp:validate:validateFailedForBlock: Internal Error: hdlcoder:HDLImplMWrapper:validateFailed At block path: lte/LTE Downlink RMC/LTE Downlink RMC With message: Internal Error: Evaluation of validate function on class hdldefaults.EmbeddedMATLAB failed with the error message: Simulink:Data:SlResolveNotResolved: Cannot resolve: waveform.

Answers (1)

Kiran Kintali
Kiran Kintali on 28 Aug 2023
This is an internal and not user facing error. Please reach out to tech support to report the issue and potential workaround.
  2 Comments
akanksha srivastav
akanksha srivastav on 4 Sep 2023
Edited: akanksha srivastav on 4 Sep 2023
Sir thank you for your response . sir after exploring there I again found this error .
1-After compile with HDL CODER-block_comp:validate:validateFailedForBlock: Internal Error: hdlcoder:HDLImplMWrapper:validateFailed At block path: lte_fcn/MATLAB Function/MATLAB Function With message: Internal Error: Evaluation of validate function on class hdldefaults.EmbeddedMATLAB failed with the error message: : Constant folding error: Type.castValueToType: 0: structs may only be cast to struct types with equivalent fields
2-After compile with Simulink-An error occurred while running the simulation and the simulation was terminated
Caused by:
  • MATLAB expression '<output of lteRMCDL>' does not have the correct number of fields: expected 10; found 25.
Sir actually I want lte toolbox ltedownlink waveform generator to hdl ? I want .hdl file for lte signal.
Kiran Kintali
Kiran Kintali on 4 Sep 2023
The first internal error is with HDL Coder and needs to be reported to tech support with the necessary reproduction steps. If you got the first error with lteRMCDL it is most likely due to the model being incompatible for HDL Code generation.
The second issue with https://www.mathworks.com/help/lte/ref/ltermcdl.html is probaly with the simulation setup of the model.

Sign in to comment.

Categories

Find more on LTE Toolbox in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!