Real-Time Workshop User's Guide    

Target Language Compiler API for
Signals and Parameters

The Real-Time Workshop provides a TLC function library that lets you create a global data map record. The global data map record, when generated, is added to the CompiledModel structure in the model.rtw file. The global data map record is a database containing all information required for accessing memory in the generated code, including:

Use of the global data map requires knowledge of the Target Language Compiler and of the structure of the model.rtw file. See the Target Language Compiler Reference Guide for information on these topics.

The TLC functions that are required to generate and access the global data map record are contained in matlabroot/rtw/c/tlc/globalmaplib.tlc. The comments in the source code fully document the global data map structures and the library functions.


 Parameter Tuning via model_pt.c Creating an External Mode Communication Channel