Combining Two TLC Files for Model Compilation

Mehmet Ali on 1 Nov 2023
Latest activity Reply by Anusha Sridharan on 1 Nov 2023

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!
Anusha Sridharan
Anusha Sridharan on 1 Nov 2023
Hi @Mehmet Ali, we have moved your question to MATLAB Answers here, where a wider support audience is available to help you:
Walter Roberson
Walter Roberson on 1 Nov 2023
You should post this in MATLAB Answers

Tags

No tags entered yet.