How to transfer arithmetic operations to initialization?

Hello! How in Simulink Code to transfer arithmetic operations to initialization? For example, I want to transfer sqrt(Param) from step function to initialization, where Param - input parameter of mask (constant). I know about configure of model "inline parameters", but I want to save Param such variable in code.

回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeDeployment, Integration, and Supported Hardware についてさらに検索

質問済み:

2015 年 2 月 19 日

Community Treasure Hunt

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

Start Hunting!

Translated by