Why can't convert Matlab code to C++ with Coder to ARM Cortex-A?

6 次查看(过去 30 天)
I'm trying to convert a Matlab code with the Coder (Matlab 2017b), to run on ARM Cortex-A57. The language I want to get is C++.
The settings in Coder window "Generate Code": Source code C++, Hardware Board ARM Cortex-A9 (QEMU), Toolchain Mentor Graphics (64-bit Linux).
The error I get: The 'Language' parameter is set to 'C++', which is not supported for the selected hardware board. To avoid this error, select Simulation > Model Configuration Parameters > Code Generation and set 'Language' to 'C'.
When choosing language to be C - everything works fine.

回答(1 个)

Raghu Boggavarapu
Raghu Boggavarapu 2021-11-26
C++ code generation for Cortex-A targets is not supported at this point in time.

产品

Community Treasure Hunt

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

Start Hunting!

Translated by