How to transfer arithmetic operations to initialization?

2 views (last 30 days)
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

Community Treasure Hunt

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

Start Hunting!