Does anyone know how to resolve this error?
「Cannot call function.」
「During code generation, the integer input or result class of TYPECAST must map directly to C types on the target hardware. Class uint64 does not map to 64-bit C types.」

답변 (1개)

3TEN
3TEN 2024년 5월 1일

0 개 추천

Maybe, this answer will help to solve your problem.
You should change the setting of "Simulink Coder".
You should switch the setting about "long long type" from "off" to "on".
I hope my answer will help you to solve your problem.

댓글 수: 1

岡本 善樹
岡本 善樹 2024년 5월 3일
Thank you for your answer.
I already tried that method but it didn't work.

댓글을 달려면 로그인하십시오.

카테고리

도움말 센터File Exchange에서 Simulink Coder에 대해 자세히 알아보기

제품

릴리스

R2021a

질문:

2024년 4월 29일

댓글:

2024년 5월 3일

Community Treasure Hunt

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

Start Hunting!

Translated by