Real-Time Workshop |
 |
Embedded Model Functions
The Real-Time Workshop Embedded Coder Coder target generates the following functions:
model
_intialize
-- Performs all model initialization and should be called once before you start executing your model.
- If the Single output/update function code generation option is selected, then you will see:
model
_step(int_T tid)
-- Contains the output and update code for all blocks in your model.
- Otherwise you will see:
model
_output(int_T tid)
-- Contains the output code for all blocks in your model.
model
_update(int_T tid)
-- This contains the update code for all blocks in your model.
- If the Terminate function required code generation option is selected, then you will see:
model
_
terminate -- This contains all model shutdown code and should be called as part of system shutdown.
See the Real-Time Workshop Embedded Coder documentation for complete descriptions of these functions in the context of the Real-Time Workshop Embedded Coder.
| Rapid Prototyping Model Functions | | Rapid Prototyping Program Framework |  |