Filter löschen
Filter löschen

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

1 Ansicht (letzte 30 Tage)
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.

Akzeptierte Antwort

Sarthak
Sarthak am 5 Jul. 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!!

Weitere Antworten (0)

Kategorien

Mehr zu Deployment, Integration, and Supported Hardware finden Sie in Help Center und File Exchange

Produkte


Version

R2023a

Community Treasure Hunt

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

Start Hunting!

Translated by