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

2 views (last 30 days)
Olga Liberman
Olga Liberman on 5 Jun 2018
Answered: Raghu Boggavarapu on 26 Nov 2021
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.

Answers (1)

Raghu Boggavarapu
Raghu Boggavarapu on 26 Nov 2021
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!