Target Language Compiler | ![]() ![]() |
Compatibility Issues in Version 5.0
In bringing Target Language Compiler files from Release 12.1 to Release 13, the following changes may affect your TLC codebase:
BlockInstanceData
function, as mentioned above, has been deprecated. Any TLC files that reference it should be updated.
model
.rtw
file may require you to update TLC files that access model
.rtw
records, especially if they do so directly rather than by calls to the TLC function library.
Compatibility Issues in Version 4.1
In bringing Target Language Compiler files from Release 12 to Release 12.1, the following changes may affect your TLC codebase:
model
.rtw
file have been changed. See model.rtw Changes Between Real-Time Workshop 5.0 and 4.1 for further information.
BlockTypeSetup
and BlockInstanceSetup
functions is different. In version 4.1, the BlockTypeSetup
function is called before the BlockInstanceSetup
function.
FunctionInlineType
and PragmaInlineString
are now obsolete.
Compatibility Issues in Version 4.0
In bringing Target Language Compiler files from Release 11 to Release 12, the following changes may affect your TLC codebase:
%codeblock
and %endcodeblock
constructs are no longer supported.
%defines
& macro constructs are no longer supported.
...
and \
) are not allowed inside of strings. Also, to place a double quote ("
) character inside a string, you must use \"
. Previously, TLC allowed you to do """
to get a double quote in a string.
%include
files in different contexts (e.g., from generated files inside of %with
blocks, etc.) %include
statements are now treated as if the were read in from the global scope.
%function
in one file and %include
a file that had the %endfunction
). This no longer works.
recVar
in previous versions of TLC and the current release.
EXISTS
function have changed. In the previous release of TLC, EXISTS(var)
would check if the variable represented by the string value in var
existed. In the current release of TLC, EXISTS(var)
checks to see if var
exists or not.
![]() | New Features and Compatibility Issues in Versions 4.0, 4.1, and 5.0 | Where to Go from Here | ![]() |