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 AMD Zynq® hardware board

  4. Runs the executable in the AMD Zynq 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 AMD Zynq 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 AMD Zynq 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 either:

    • AMD Zynq ZC702 evaluation kit

    • AMD Zynq ZC706 evaluation kit

    • ZedBoard

    Then, click Apply.

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

  4. If you chose AMD Zynq ZC706 evaluation kit or ZedBoard, 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