MATLAB: Matlab Error – Converting (.m) code to VHDL/Verilog Code

fixed-point conversionHDL Coder

Hello there,
I'm converting a Matlab Code (.m) to Verilog using Matlab converter (HDL Coder), I got the following error, could you please help me to solve this error?
Fixed-Point Conversion. "class mismatch (coder.internal.indexInt~= embedded.fi {dfix5}. The class to the left is the class of the of the left-hand side of the assignment."
Thanks,

Best Answer

Hello Srinivas ,
I'm using Matlab 2014a
here is the code
for lp=1:km for jr=1:jx Levels(lp,jr)=jj(jr) jr=jr+1; <---- I got this error at this step end lp=lp+1; <---- I got this error at this step end
Related Question