Build and Run Executable on Intel SoC Platform

You can configure a Simulink® model to generate code, build an executable, and then run the executable on your Intel® SoC platform. The executable runs in the Linux® environment on the ARM® Cortex-A9 processor on the Intel SoC platform.

Configure the Model to Use Ert.tlc

  1. Save a copy of your model. Keep the original model as a backup copy.

  2. With your model open, press Ctrl+E or select Simulation > Model Configuration Parameters.

  3. In the Configuration Parameter dialog box, select the Hardware Implementation.

  4. Set the Hardware board parameter to your Intel SoC platform. The parameters in the Clocking, Build options, and External mode panes are automatically assigned their default values for your Intel SoC platform.

  5. In the Configuration Parameter dialog box, click Code Generation.

    Selecting the Intel SoC platform in the previous step automatically set the System target file parameter to ert.tlc. The ert.tlc updates the model configuration parameters. For example, the Toolchain parameter now specifies Linaro Toolchain v4.7 as the toolchain for the build process.

  6. (Optional) If you want to review the settings for Clocking, Build options, and External mode, select the Hardware Implementation pane.

Build and Run the Executable

  1. Save your changes to the model.

  2. Verify that the Intel SoC board and the host computer have a network connection.

    If your host computer connects to multiple Intel SoC platform boards, disconnect the boards that you are not using.

  3. Click Build Model.

    The software performs the action specified by the Build action parameter. By default, this parameter is set to Build, load, and run.

    The Diagnostic Viewer starts and displays the build status.

    When the executable starts running on the Intel SoC hardware, the build process opens a command window similar to the one shown here.

    The executable runs in the Linux environment on a single core of the ARM Cortex-A9 processor on the Intel SoC platform.


    PIL simulation and PIL-based execution profiling require single-core execution. To design a model that can run on both cores, see Multicore Processor Targets (Simulink).