필터 지우기
필터 지우기

Embedded Coder - Parameter initialisation in function

조회 수: 2 (최근 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 CenterFile Exchange에서 Deployment, 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