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

1 view (last 30 days)
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.

Accepted Answer

Sarthak
Sarthak on 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!!

More Answers (0)

Categories

Find more on Deployment, Integration, and Supported Hardware in Help Center and File Exchange

Products


Release

R2023a

Community Treasure Hunt

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

Start Hunting!