Iam having trouble generating vhdl code from my matlab script using hdl code generstor in matlab
So im trying to generate a vhdl code using the HDL code generator in matlab . I have a matlab function and its test bench .
this is the matlab function :