Azzera filtri
Azzera filtri

Why the TLC based customizations made does not affect the generated A2L file when using "coder.asap2.export" ?

11 visualizzazioni (ultimi 30 giorni)
I am using MATLAB R2022b version. I am generating an A2L file as part of my code generation workflow, and I apply certain TLC based customizations using the workflow described in However, I do not see my customizations in the generated A2L file when using "coder.asap2.export".

Risposta accettata

MathWorks Support Team
MathWorks Support Team il 17 Apr 2024
Modificato: MathWorks Support Team il 17 Apr 2024
There are two ASAP2 generation workflows and two methods of customization:
  1. Old TLC based workflow: This is the workflow that generates ASAP2 as part of code generation when the configuration setting GenerateASAP2 is set to 'on'. You can refer to the following documentation for more information: The TLC based customizations that correspond to this workflow are explained in the following documentation: Also, the customizable TLC files are clearly explained in the documentation.
  2. New coder.asap2.export workflow: This is the new workflow introduced since R2021a that generates ASAP2 using the command 'coder.asap2.export' or the corresponding GUI as shown in the following documentation: The TLC based customizations given the following documentation: does not apply to or affect this workflow. To customize the generated ASAP2 file, refer to the following documentation: The APIs available for customizations in this workflow (such as 'getEcuDescriptions' and 'coder.asap2.Function') are mentioned in the following documentation pages.
These two customizations cannot be mixed as they correspond to totally different ASAP2 generation workflows. Therefore, it is expected that the customizations made using the TLC based workflow do not take affect when using the new 'coder.asap2.export' workflow.  

Più risposte (0)




Community Treasure Hunt

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

Start Hunting!

Translated by