MATLAB Function Coder error

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.」

Respuestas (1)

3TEN
3TEN el 1 de Mayo de 2024

0 votos

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 comentario

岡本 善樹
岡本 善樹 el 3 de Mayo de 2024
Thank you for your answer.
I already tried that method but it didn't work.

Iniciar sesión para comentar.

Categorías

Más información sobre Simulink Coder en Centro de ayuda y File Exchange.

Productos

Versión

R2021a

Preguntada:

el 29 de Abr. de 2024

Comentada:

el 3 de Mayo de 2024

Community Treasure Hunt

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

Start Hunting!

Translated by