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.

Answers (0)

Categories

Find more on Deployment, Integration, and Supported Hardware in Help Center and File Exchange

Asked:

on 19 Feb 2015

Community Treasure Hunt

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

Start Hunting!