Your MATLAB® design has the following requirements:
MATLAB code within the design must be supported for HDL code generation.
Inputs and outputs must not be matrices or structures.
If you are generating code from the command line, verify your code readiness for code generation with the following command:
For a MATLAB language support reference, including supported functions from the Fixed-Point Designer™, see MATLAB Algorithm Design.