| Target Language Compiler |
 |
Target Language Compiler 4.0 New Features
The following features have been added to the Target Language Compiler for Version 4.0:
- Complete parsing of the TLC file just before execution. This aids development because syntax errors are caught the first time the TLC file is run instead of the first time the offending line is reached.
- TLC speed improvements across the board, particularly in block parameter generation.
- Creation and use of a build directory in the current directory to prevent generated code from clashing with other files generated for other targets, and for keeping your model directories maintenance to a minimum.
- Entirely new TLC Profiler for finding performance problems in your TLC code.
- New format and changes to the
model.rtw file. See Appendix A, model.rtw, for details. The size of the model.rtw file has been reduced.
- Aliases added for block parameters in the
model.rtw file, see ParamName0 on page A-53 of the "model.rtw" appendix.
- New flexible methods for text expansion from within strings.
- Column-major ordering of 2-dimensional signal and parameter data.
- New record data handling.
- New TLC language semantics.
- Additional built-in functions:
FIELDNAMES, GENERATE_FORMATTED_VALUE, GETFIELD, ISALIAS, ISEMPTY, ISEQUAL, ISFIELD, REMOVEFIELD, SETFIELD
- Support for 2-dimensional signals in inlined code.
- Additional built-in variables:
INTMAX, INTMIN, TLC_TRUE, TLC_FALSE, UINTMAX
- Functions can return records.
- Formalization of records and record aliases.
- Loop control variables are local to loop bodies.
- Improved
EXISTS semantics (See Built-In Functions and Values).
- Can expand records with
%<>
- Short circuiting of conditionals (
||, &&, ?:, %if-%elseif-%else-%endif )
- Relational operators can be used with non-finite values.
- Enhanced conversion rules for
FEVAL. You can now pass records and structs to FEVAL.
| Search Algorithm for Locating Target Files | | Compatibility Issues |  |