HDL coder error,Call to function 'fmod' is not supported for HDL code generation,

Build the model to generate VerilogHDL, which is error reporting.
Call to function 'fmod' is not supported for HDL code generation, at Function 'mod' (#33554434.2195.2208), line 66, column 12 Function 'mod' (#33554434.1338.1351), line 34, column 9 Function 'ixfun' (#33554435.1762.1776), line 47, column 14 Function 'mod' (#33554432.2759.2823), line 75, column 9 Function 'Subsystem8/MATLAB Function2' (#165.78.91), line 5, column 11.
Design contains functions not supported for HDL code generation. See the HDL Coder report for details

Answers (1)

This message scenerio happens when HDL Coder finds an unsupported function error.
Can you share a sample MATLAB code and Testbench files along with the project?

Categories

Find more on Code Generation in Help Center and File Exchange

Products

Release

R2021b

Asked:

on 17 Feb 2023

Answered:

on 17 Feb 2023

Community Treasure Hunt

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

Start Hunting!