主要内容

Build action

Define how Simulink responds when building models

Model Configuration Pane: Hardware Implementation

Description

Add-On Required: This feature requires the MATLAB Coder Support Package for NVIDIA Jetson and NVIDIA DRIVE Platforms add-on.

The Build action parameter specifies whether to automatically run the generated code after you use Ctrl+B to build the model.

Settings

Build and run (default) | Build
Build and run

Executes these steps after you use Ctrl+B to build the 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 NVIDIA® hardware board.

  4. Runs the executable in the NVIDIA hardware board.

Build

Executes these steps after you use Ctrl+B to build the 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 NVIDIA hardware board.

Programmatic Use

You cannot set this parameter from the MATLAB® command line.

Version History

Introduced in R2020b