MATLAB Function Coder error
2 ビュー (過去 30 日間)
古いコメントを表示
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.」

0 件のコメント
回答 (1 件)
3TEN
2024 年 5 月 1 日
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.
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!