Zynq Radio QPSK receiver example errors with "block_diagram does not have a parameter named 'HDLCodeGenStatus'

2 次查看(过去 30 天)
In the Communications Toolbox Hardware Support Package for Xilinx Zynq-Based Radio, when running the QPSK Receiver Simulink model, you see the following error:
===============
MATLAB System block 'zynqRadioQPSKRxAD9361AD9364SL/AD936x Receiver' error occurred when invoking 'setupImpl' method of 'comm.SDRRxAD936x'. The error was thrown from '
'.../Documents/MATLAB/SupportPackages/R2019a/toolbox/shared/libiio/base/+matlabshared/+libiio/+internal/isGeneratingHDL.p' at line 0
'...//Documents/MATLAB/SupportPackages/R2019a/toolbox/shared/libiio/base/+matlabshared/+libiio/+internal/isGeneratingHDL.p' at line 0
'.../Documents/MATLAB/SupportPackages/R2019a/toolbox/shared/libiio/base/+matlabshared/+libiio/base.p' at line 0
'.../Documents/MATLAB/SupportPackages/R2019a/toolbox/shared/sdr/sdrplug/sdrplugins/zynqradio/+comm/+zynqradio/rx.p' at line 0'.
Caused by:
block_diagram does not have a parameter named 'HDLCodeGenStatus'

采纳的回答

Neil MacEwen
Neil MacEwen 2019-8-14
You may see this error if you do not have HDL Coder installed. In brief, some HDL Coder configuration information was mistakenly saved onto the receiver Simulink model, and a check will fail if you don't have HDL Coder installed.
A workaround is to run the following commands at the command prompt then save the model.
csActive = getActiveConfigSet('zynqRadioQPSKRxAD9361AD9364SL');
csActive.detachComponent('HDL Coder');
This will remove the problematic configuration information. Be sure to save the model, close it and open it again.

更多回答(0 个)

产品


版本

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by