The example TLC script given in the "Real-Time Workshop > Target Language Compiler > Code Generation Architecture > Code Generation Concepts > Records" section of the documentation should loop through a model and output the name of each block in the model. However, when I use the script I receive the following error:
Attempt to call a non-function value: IsModelReferenceSimTarget Error: File: W:/archive/R2006b/perfect/matlab/rtw/c/tlc/lib\utillib.tlc Line: 2268 Column: 47 Breakpoint conditions must evaluate to a boolean result. Error: File: W:/archive/R2006b/perfect/matlab/rtw/c/tlc/lib\utillib.tlc Line: 2268 Column: 22 Attempt to call a non-function value: IsModelReferenceSimTarget Error: File: W:/archive/R2006b/perfect/matlab/rtw/c/tlc/lib\utillib.tlc Line: 2268 Column: 47 Breakpoint conditions must evaluate to a boolean result. ??? Error: File: W:/archive/R2006b/perfect/matlab/rtw/c/tlc/lib\utillib.tlc Line: 2268 Column: 22 Attempt to call a non-function value: IsModelReferenceSimTarget
Best Answer