Borrar filtros
Borrar filtros

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

1 visualización (últimos 30 días)
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.

Respuesta aceptada

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

Más respuestas (0)

Categorías

Más información sobre Deployment, Integration, and Supported Hardware en Help Center y File Exchange.

Productos


Versión

R2023a

Community Treasure Hunt

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

Start Hunting!

Translated by