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 Exchange 中查找有关 Deployment, 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