Main Content

External Mode

Communication interface

Select the transport layer that the External mode uses to exchange data between the computer and the target hardware.

Settings

Default:TCP/IP

Run external mode in a background thread

Selecting this option forces the External mode engine in the generated code to execute in a background task.

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.

Settings

Default:off

Port

Specify a TCP/IP port number, from 1024 to 65535. External mode uses this port for communication between the target hardware and the computer.

Settings

Default: 17725

Verbose

Select this option to view the External mode execution progress and updates in the Diagnostic Viewer or in the MATLAB® Command Window.

Settings

Default: off

See Also