Embedded Coder changes function names from step to output

2 vues (au cours des 30 derniers jours)
Mike Bardill
Mike Bardill le 14 Mar 2024
Commenté : Mike Bardill le 18 Mar 2024
We have recently upgraded to R2023b. We have noticed that when we generate code from models a lot of function names have changed from 'step' to 'output'. Whilst this is not a problem we are curious to understand what has caused this change. The code still builds and works fine.
Previous:
// ModelReference: '<Root>/MeasurementController'
MeasurementControllerMDLOBJ5.step(rtu_control_run,
Now:
// ModelReference: '<Root>/MeasurementController'
MeasurementControllerMDLOBJ5.output(rtu_control_run,

Réponse acceptée

Mark McBroom
Mark McBroom le 16 Mar 2024
Not sure how the method name changed to output ... the default should still be step(). However, you can easily change back to "step" via code mappings:
  1 commentaire
Mike Bardill
Mike Bardill le 18 Mar 2024
Thanks. I noticed that the change seems to be anywhere that we generate code for a model reference block. We have a mixture of model reference and subsystem reference blocks in our models. I scanned the release notes going back to the version we moved up from but could not see anything obvious about this change. We don't need to force a change back to 'step' but I will note the configuration possibilities for future reference.

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

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

Produits


Version

R2023b

Community Treasure Hunt

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

Start Hunting!

Translated by