Effacer les filtres
Effacer les filtres

How to know which model configuration parameters should be changed before generating the Embedded code for my model?

1 vue (au cours des 30 derniers jours)
I am currently working with embedded coder and sometimes it becomes hard to know which model parameters should be changed for a perticular model. Any tips or guides for that would be appriciated.

Réponse acceptée

Sarthak
Sarthak le 5 Juil 2023
Hello Harsh,
The configuration parameters that need to be changed before the embedded code generation depends on model to model. However, there are certain parameters that are always fixed before generating the embedded code, which are:
  1. Target File should always be ert.tlc (the default grt.tlc will generate the Simulink code, not embedded code).
  2. Solver for the model should be fixed step auto.
  3. Target hardware is always recommended to specify, not mandatory though.
Other parameters might depend on the blocks that you have used in your Simulink model.
Refer to the documentation below:
Hope this helps!!

Plus de réponses (0)

Catégories

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

Produits


Version

R2023a

Community Treasure Hunt

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

Start Hunting!

Translated by