How to customize function name for e-coder generated lookup table file?

1 vue (au cours des 30 derniers jours)
Shardul Kulkarni
Shardul Kulkarni le 16 Avr 2024
I'm having trouble ingrating e-coder generated files for 2 models as both models generate similar functions for a lookup table, except datatype of 1 of the inputs to the function. Is there a way to customize function names for lookup tables?

Réponses (1)

Sarthak
Sarthak le 23 Avr 2024
Hello Shardul,
To handle such situations, I think you can leverage the Embedded Coder Dictionary. The following documentation mentions that "in the interface configuration you can create function customization templates, which control naming of model entry-point functions, such as model_step. The templates also apply memory sections to the entry-point functions". I think this should help you out.
Please refer to the following MathWorks documentation for more information on Embedded Coder Dictionary
Cheers!

Catégories

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

Produits


Version

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by