MATLAB: When using the HDL Workflow Advisor, why do I get errors in Task 1.2 that mention “Dot indexing is not support for variables of this type”

HDL Coder

I am using a Zynq _ZC706 _and FMCOMMS2/3, and following this example:
I have replaced some of the example's block with my own.
When I reach Task 1.2 of the HDL Workflow Advisor, this error appeared:
Could not apply model's setting to the Target Interface Table in Task 1.2 of the HDL Workflow Advisor for the following reason:
Dot indexing is not supported for variables of this type.
Default or last valid setting is applied instead.
How do I find the root cause of this issue and fix it?

Best Answer

The root cause of the issue are the commented-through blocks in the DUT model. If you right-click on the DUT block and select HDL Code -> Check Subsystem Compatibility, the HDL Code Generation Check report indicates that 5 blocks are commented-through, which is apparently not supported by HDL Coder. For example check this report error:
The 'sim_05092019_1100/DUT1/cross_correlator (RAM short)/LTE/slice/abs^2' block is commented through. HDL code generation is not supported for blocks that are commented through.
If you remove these blocks and replace them with a connecting line, Task 1.2 completes successfully. I would suggest that you try this (best to make a backup copy of the model), then proceeds through the remainder of the HDL Workflow Advisor.
The above conclusions are the result of running the HDL Model Checker;
Specifically this check: