Main Content

Run external mode in a background thread

Forces the External mode engine in the generated code to execute in a background task

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

Description

Selecting the Run external mode in a background thread parameter forces the External mode engine in the generated code to execute in a background task.

Settings

off (default) | on

This option is not recommended for models that use a small time step, or which may encounter task overruns. These situations can cause Simulink® to become unresponsive.

Recommended Settings

No recommendation.

Programmatic Use

No programmatic use is available.

Version History

Introduced in R2017b