Embedded Target for Texas Instruments C6000 DSPs | ![]() ![]() |
Generating Code from Real-Time Models
This section summarizes how to generate code from your real-time model. For details about generating code from models in Real-Time Workshop, refer to your Real-Time Workshop documentation.
You start the automatic code generation process from the Simulink model window by clicking Build in the Real-Time Workshop pane of the Simulation Parameters dialog. The code building process consists of these tasks:
make_rtw
to start the Real-Time Workshop build procedure for a block diagram. make_rtw
invokes the Target Language Compiler to generate the code and then invokes the language specific make procedure.
gmake
builds file modelname
.out
. Depending on the build options you select in the Simulation Parameters dialog, gmake
can download and execute the model on your TI target board.
![]() | Creating DSP Application Models for Targeting | Setting Real-Time Workshop Build Options for C6000 Hardware | ![]() |