Target Language Compiler    

Getting Started

  1. Copy the entire directory tlctutorial/mygain to your working directory, so that you can use the files provided.

  1. Open the model file simple_sin.mdl, which consists of three blocks.

  1. Choose the Target configuration category from the Real-Time Workshop tab of the Simulation parameters dialog box. Select Generate code only.
  2. Generate code for the model and inspect the MdlOutputs() section of output file simple_sin.c (in your build directory).

Note that:


  Exploring Variable Names and Loop Rolling Modify the Model