Error evaluating 'InitFcn' callback of block_diagram 'hdlcoder_​lteofdm_mo​dDetect'. Callback string is 'simParams = hdlcoder_l​teofdm_mod​Detectref_​init; simParams = hdlcoder_l​teofdm_mod​Detecthdl_​init(simPa​rams);

53 views (last 30 days)
why we can't operate this HDL coder example??
It used to work a few weeks ago,but it can't work now.
  1 Comment
John O'Sullivan
John O'Sullivan on 16 May 2019
Edited: John O'Sullivan on 16 May 2019
What version on MATLAB are you using? Have you changed anything with the MATLAB installation, version, or licence recently?
The function mentioned in the Diagnosic Viewer, lteTestModel, is a function in the LTE Toolbox. Do you have LTE Toolbox installed? Are you able to use any other LTE Toolbox functions?

Sign in to comment.

Accepted Answer

Bharath Venkataraman
Bharath Venkataraman on 12 Apr 2022
As John mentioned in the comments, the function mentioned in the Diagnosic Viewer, lteTestModel, is a function in the LTE Toolbox. Run ver at the MATLAB command prompt to see if you have LTE Toolbox.
You can also run which lteTestModel at the MAATLAB command prompt to make sure that you have this function.

More Answers (1)

Moein Moein
Moein Moein on 24 Jun 2020
You have to move the parameters to the Workspace by double clicking on them.

Tags

Community Treasure Hunt

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

Start Hunting!