Main Content

Build action

Simulink Coder build operation for model

Model Configuration Pane: Hardware Implementation / Simulink or Embedded Coder Hardware Support Package / Hardware board settings / Target hardware resources / Build options

Description

The Build action parameter defines how Simulink® Coder™ responds when you press Ctrl+B or click Build Model to build your model.

Dependencies

None

Settings

Build, load, and run (default) | Build and load | Build
Build, load, and run

With this option, pressing Ctrl+B or clicking Build Model:

  1. Generates code from the model

  2. Compiles and links the code into an executable with libraries

  3. Loads the executable and libraries into the Altera Cyclone® V SoC or Arrow SoCKit hardware board

  4. Runs the executable in the Altera Cyclone V SoC or Arrow SoCKit hardware board

Build and load

With this option, pressing Ctrl+B or clicking Build Model:

  1. Generates code from the model

  2. Compiles and links the code into an executable with libraries

  3. Loads the executable and libraries into the Altera Cyclone V SoC or Arrow SoCKit hardware board

Build

With this option, pressing Ctrl+B or clicking Build Model:

  1. Generates code from the model

  2. Compiles and links the code into an executable with libraries

This option does not load and run the executable on the Altera Cyclone V SoC or Arrow SoCKit hardware board.

Examples

expand all

  1. In the Simulink Editor, select Simulation > Model Configuration Parameters.

  2. In the Configuration Parameters dialog box, click Hardware Implementation.

  3. Set the Hardware board parameter to Altera Cyclone V SoC development kit and click Apply.

    The parameter values under Hardware board settings are automatically populated to their default values.

  4. Set the Feature set for selected hardware board to Simulink or Embedded Coder Hardware Support Package and click Apply.

  5. From the Build options group, select a Build action from the drop down list and click Apply.

  6. Click OK to close the dialog box.

Recommended Settings

ApplicationSetting
DebuggingBuild_load_and_run
TraceabilityNo impact
EfficiencyNo impact
Safety precautionNo impact

Programmatic Use

No programmatic use is available.

Version History

Introduced in R2014b