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:
(Optional) To see the code replacement libraries, enter:
Code Replacement Viewer opens and displays the libraries.
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.
In your Simulink® model, click the Model Configuration Parameters button.
In the Configuration Parameters dialog box, expand Code Generation, and select the Interface pane.
Set the Code replacement library parameter to
ARM Cortex-A, and click
Code replacement using Ne10 code in the ARM Cortex-A processors requires array dimensions be multiples of 4. Otherwise, code replacement optimizations do not get applied.