Real-Time Workshop Embedded Coder    

External Mode

Selecting the External mode option turns on generation of code to support external mode communication between host (Simulink) and target systems. The Real-Time Workshop Embedded Coder supports all features of Simulink external mode, as described in the External Mode section of the Real-Time Workshop documentation.

If you are unfamiliar with external mode, we recommend that you start with the external mode exercise in the Quick Start Tutorials section of the Real-Time Workshop documentation.

Like the GRT, GRT malloc, and Tornado targets, the Real-Time Workshop Embedded Coder supports host/target communication via TCP/IP, using the standard ext_comm MEX-file. If you need to support external mode on a custom target using your own low-level communications layer, see the Targeting Real-Time Systems section of the Real-Time Workshop documentation for detailed information on the external mode API.

Parameter Structure

The Parameter structure menu lets you control how parameter data is generated for reusable subsystems. (If you are not familiar with reusable subsystem code generation, see "Nonvirtual Subsystem Code Generation Options" in the Real-Time Workshop documentation for further information.)

The Parameter structure menu is enabled when the Inline parameters option is on. The menu lets you select the following options:


  Other Code Generation Options Generate An Example Main Program