Combining Two TLC Files for Model Compilation

4 views (last 30 days)
Hi everyone,
I need assistance with a task related to combining two TLC (Target Language Compiler) files for model compilation. I have two TLC files, 'ert.tlc' and 'cnp.tlc,' which are essential for generating code from my Simulink model.
I would like to create a single 'combined.tlc' file that allows me to compile the model using both 'ert.tlc' and 'cnp.tlc.' However, I am facing some challenges in merging these files effectively.
I'm looking for guidance on how to:
  1. Combine 'ert.tlc' and 'cnp.tlc' into a single 'combined.tlc' file.
  2. Ensure that 'combined.tlc' appears in the Model Settings under the 'CodeGeneration' parameter.
This is important for me because my model is including some function blocks which is only supported to compile by cnp.tlc but also I have complie my model with ert.tlc because I want generate my model to ASAP2(.a2l).
Thanks for helping!

Answers (1)

Mark McBroom
Mark McBroom on 11 Nov 2023

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!