Removal of RT_MODEL variables in code generation

10 vues (au cours des 30 derniers jours)
Nadeem Syed
Nadeem Syed le 11 Avr 2020
Commenté : Nadeem Syed le 23 Avr 2020
Hello,
I am using R2019b ert.tlc file for code generation.
Question: How to remove code generaiton for the RT_MODEL_m variables which are getting generated ?
Apparently something related is asked earlier in below link, but nobody gave the correct answer.
I suggested the below setting as suggested by the STAFF member, but it didnt help.
cs.set_param('CodeInterfacePackaging', 'Nonreusable function'); % Code interface packaging.
Any help will be appreciated !!!

Réponse acceptée

Mark McBroom
Mark McBroom le 22 Avr 2020
Look in TEST.h. What is in the data structure RT_MODEL_TEST? If there is an error_status variable, you can disable via this configuration parameter:
Thanks.
Mark.
  7 commentaires
Mark McBroom
Mark McBroom le 22 Avr 2020
I am sorry. SuppressErrorStatus needs to be set to "on".
Nadeem Syed
Nadeem Syed le 23 Avr 2020
ok thanks, it worked.

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Simulink Coder dans Help Center et File Exchange

Produits


Version

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by