| Target Language Compiler | ![]() |
Getting Started
tlctutorial/tlcdebug/ to your working directory and cd to it.
simple_log.mdl in Simulink. The diagram looks like this.
tout and yout appear in your MATLAB workspace.)
yout in the Workspace pane of the MATLAB command window. The Array Editor displays the 6x11 array output from simple_log. You will see the following display.
1s and 0s), collected at port out1. Columns 2-11 contain the constant values 1:10, collected at port out2.
Next, we'll generate a stand-alone version of simple_log.mdl. We'll execute it and compare its results to the output from Simulink displayed above.
| Debugging Your TLC Code | Generate and Run Code from the Model | ![]() |