Main Content

Setup and Configure Armclang Compiler Toolchain for Code Generation

Setup and configure Armclang compiler toolchain for code generation shows you how to:

  • To register Armclang compiler.

  • Configure the model using Armclang compiler toolchain.

Registering Armclang Compiler

To register the Armclang compiler toolchain, follow the hardware setup instructions.

  1. Enter the following command at MATLAB® command prompt to open hardware setup window.

  2. In the Register Armclang Compiler window, Click Download Required in the status section. This navigates you to the web page to download Armclang compiler.


    • Download and Install licensed Arm Compiler V6.12.

    • If Armclang compiler is already installed and registered, the status shows Toolchain Registered.

    • If Armclang compiler is installed and not registered, the status shows Installation Detected.

    • Setup and configure Armclang compiler toolchain for code generation is not supported for STM32F4xx Processor based boards.

  3. Ensure that the Armclang compiler is installed and license is setup.

  4. Click Next to validate.

  5. In the Validate Armclang Compiler Installation Path window, click Browse and locate the Armclang compiler installation folder path.

  6. Click Validate.

  7. Click Finish, If the validation of Armclang compiler is successful.

    If the validation fails, verify the specified Armclang compiler directory.

Configuring the Model using Armclang Compiler Toolchain

This section describes how to configure the model using Armclang compiler toolchain in configuration parameters.

  1. In the Configuration Parameters window, click Code Generation pane. By default, the Toolchain is GNU Tools for ARM Embedded Processors.

  2. Select Armclang Compiler in Toolchain.

  3. Click OK.


Armclang compiler toolchain is only supported for Embedded Coder® Support Package for STMicroelectronics® Discovery Boards, Simulink® Coder™ Support Package for STMicroelectronics Nucleo Boards(except STM32 Nucleo F031K6 board), and Embedded Coder Support Package for ARM® Cortex®-M Processors.