how to resolve rem and round function in hdlcoder?

Hi I'm came across the below error messages when I run hdlcoder with below commands
out_xy=rem(xy,360);
out_xy=round(out_xy,0);
How can I implement rem and round function in hdlcoder?

 Akzeptierte Antwort

Birdman
Birdman am 29 Jan. 2018

0 Stimmen

By using MATLAB Function block in Simulink. See the attached model for its usage and adapt it into your problem.

Weitere Antworten (0)

Kategorien

Mehr zu Code Generation finden Sie in Hilfe-Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by