how to resolve rem and round function in hdlcoder?

2 次查看(过去 30 天)
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?

采纳的回答

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

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Code Generation 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by