User`s guide

1 What Is Real-Time Workshop?
1-4
- The flexible scripting capabilities of the Target Language Compiler enable
you to fully customize generated code.
- Efficient code for S-functions (user-created blocks) can be crafted using
Target Language Compiler instructions (called TLC scripts) and
automatically integrated with generated code.
Extensive model-based debugging support
- External mode enables you to examine what the generated code is doing
by uploading data from your target to the graphical display elements in
your model. There is no need to use a conventional source-level debugger
to look at your generated code.
- External mode also enables you to tune the generated code via your
Simulink model. When you change a parametric value of a block in your
model, the new value is passed down to the generated code, running on
your target, and the corresponding target memory location is updated.
Again, there is no need to use an embedded compiler debugger to perform
this type of operation. Your model is your debugger user interface.
Integration with Simulink
- Code verification. You can generate code for your model and create a
stand-alone executable that exercises the generated code and produces a
MAT-file containing the execution results.
- Generated code contains system and block identification tags to help you
identify the block, in your source model, that generated a given line of
code. The MATLAB command
hilite_system recognizes these tags and
highlights the corresponding blocks in your model.
- Support for Simulink data objects lets you define how your signals and
block parameters interface to the external world.
Integration with Stateflow
®
- Code generation. Seamless code generation support for models that
contain Stateflow charts.
- Full support for Stateflow Coder features.
Rapid simulations
- Real-Time Workshop supports several ways to speed up your simulations
by creating optimized, model-specific executables.