Embedded Coder - Parameter initialisation in function

1 回表示 (過去 30 日間)
Ingmar Kirchner
Ingmar Kirchner 2020 年 8 月 4 日
回答済み: Rajat Tewari 2020 年 10 月 5 日
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?

回答 (1 件)

Rajat Tewari
Rajat Tewari 2020 年 10 月 5 日
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.

カテゴリ

Help Center および File ExchangeDeployment, Integration, and Supported Hardware についてさらに検索

製品


リリース

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by