Using MathWorks Simulink Coder® to Export a Simulink Model to a Twin Builder C-Model DLL

This section describes how to export a Simulink model to a Twin Builder C-Model using MathWorks Simulink Coder. Simulink Coder generates the model based C-code, the Twin Builder C-interface functions, and the necessary makefile for Microsoft Visual C++. After the C-code generation, Simulink Coder calls the compiler and generates a ready-to-use Twin Builder C-interface DLL for a Twin Builder model library.

Twin Builder uses Simulink models directly, without co-simulation. The exported models run standalone directly in a Twin Builder environment. Communication with Simulink is not necessary.

Features and Limitations

There are target entries in the Simulink Coder system target list for exporting to a Twin Builder target.