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

1 次查看(过去 30 天)
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.

采纳的回答

Sarthak
Sarthak 2023-7-5
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!!

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Deployment, Integration, and Supported Hardware 的更多信息

产品


版本

R2023a

Community Treasure Hunt

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

Start Hunting!

Translated by