Optimize Code for ARM Cortex-A Processors

You can configure your model to replace generic code with Ne10 code that is optimized for ARM® Cortex®-A processors. The Ne10 code is based on the ARM Neon general-purpose SIMD engine.

To measure the effects of optimization, you can perform Execution profiling before and after completing this procedure. For more information, see Replace Code for Embedded Targets (Embedded Coder).

To enable code replacement libraries for ARM Cortex-A processors:

  1. (Optional) To see the code replacement libraries, enter:

    crviewer('ARM Cortex-A')

    Code Replacement Viewer opens and displays the libraries.

  2. If you have not done so already, install the support package for ARM Cortex-A processors, as described in Install Support for ARM Cortex-A Processors.

  3. In your Simulink® model, click the Model Configuration Parameters button.

  4. In the Configuration Parameters dialog box, expand Code Generation, and select the Interface pane.

  5. Set the Code replacement library parameter to ARM Cortex-A, and click OK.