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?

 채택된 답변

Birdman
Birdman 2018년 1월 29일

0 개 추천

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

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Test Model Components에 대해 자세히 알아보기

태그

질문:

2018년 1월 29일

답변:

2018년 1월 29일

Community Treasure Hunt

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

Start Hunting!

Translated by