Why can't convert Matlab code to C++ with Coder to ARM Cortex-A?
6 次查看（过去 30 天）
Olga Liberman ，2018-6-5
回答： Raghu Boggavarapu ，2021-11-26
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.
Raghu Boggavarapu 2021-11-26
C++ code generation for Cortex-A targets is not supported at this point in time.
Find more on ARM Cortex-A Processors in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!