Effacer les filtres
Effacer les filtres

Is there an option to avoid generating translations in the generated code from a Simulink Model that is created by importing an arxml with Interfaces Mapped to COMPU METTHODS?

10 vues (au cours des 30 derniers jours)
I have generated a simulink model from an arxml , that has the interfaces associated with Application Data types and Compu methods.
Added the following logic shown here. Is there a way to avoid the translation that is generated in the code.

Réponses (1)

Akshat Dalal
Akshat Dalal le 27 Juin 2024 à 11:09
Modifié(e) : Akshat Dalal le 27 Juin 2024 à 11:16
Hi Rajni,
By translations, I am assuming you mean the comments explaining the code generated from the model. Your attached screenshot also seems to point to that.
To disable these comments from the generated code, you can uncheck the "Include comments" in the "Comments" tab of the "Code Generation" section of the Model Configuration Parameters as shown in the attached image. This should resolve your issue.
Thanks,
Akshat,

Catégories

En savoir plus sur Deployment, Integration, and Supported Hardware dans Help Center et File Exchange

Produits


Version

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by