Cannot select ARM Cortex-A code replacement library

2 views (last 30 days)
Gabriel Roper
Gabriel Roper on 12 Apr 2021
Commented: Gabriel Roper on 13 Apr 2021
I have a project that is using MATLAB Coder to convert to C++. In the configuration settings for MATLAB Coder, I can select a Code Replacement Library to replace certain functions calls with better library calls.
However, when I configure my project to build for an ARM Cortex-A system (Whether that be a NVIDIA Jetson, a Raspberry Pi, or a generic ARM Cortex A), I do not have the option to select the ARM Cortex-A Code replacement library. I know this is an options as it is mentioned in the MATLAB Embedded Coder release notes for R2021a.
The only options that I see are
  • GNU C99 Extensions
  • AUTOSAR 4.0
How do I use the ARM Cortex-A Code replacement library?
Gabriel Roper
Gabriel Roper on 13 Apr 2021
@Mukund Sankaran AHA. That did it. Why do I need to select the older math library?.
Also, for some reason Cortex-M shows up as well, even though the Raspberry Pi is a Cortex-A chip. I will file a bug report on that.

Sign in to comment.

Answers (0)

Community Treasure Hunt

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

Start Hunting!

Translated by