Combining Two TLC Files for Model Compilation

5 次查看(过去 30 天)
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!

回答(1 个)

Mark McBroom
Mark McBroom 2023-11-11

类别

Help CenterFile Exchange 中查找有关 Target Language Compiler 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by