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

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 日

0 投票

C++ code generation for Cortex-A targets is not supported at this point in time.

製品

質問済み:

2018 年 6 月 5 日

回答済み:

2021 年 11 月 26 日

Community Treasure Hunt

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

Start Hunting!

Translated by