Embedded Coder - Parameter initialisation in function

2 visualizaciones (últimos 30 días)
Ingmar Kirchner
Ingmar Kirchner el 4 de Ag. de 2020
Respondida: Rajat Tewari el 5 de Oct. de 2020
In Simulink Embedded Coder, is it possible to define all parameters in the initialisation function instead of directly initializing during declaration? I read something about dynamic initialisation instead of static initialisation. Would this be the solution and how it can be done?

Respuestas (1)

Rajat Tewari
Rajat Tewari el 5 de Oct. de 2020
Hi Ingmar,
Yes, it is possible this can be done by the use of InitFcn.
To know more about static and dynamic initialization, you can refer to the following link.
Hope it helps.

Categorías

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

Productos


Versión

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by