How to transfer arithmetic operations to initialization?

2 visualizzazioni (ultimi 30 giorni)
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.

Risposte (0)

Categorie

Scopri di più su Deployment, Integration, and Supported Hardware in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by