Using simulink "to workspace" variable as variable in a user-defined function

1 vue (au cours des 30 derniers jours)
Kathrin Viol
Kathrin Viol le 22 Mar 2015
Hello,
In my Simulink model, I have several "to workspace" block as well as user-defined functions. For one of the function, let's say exp(a*u)+exp(a*u^2), I would like to use one of the "to workspace" values as 'a' (that is, not as input u, and changing while the simulation is running). Is that possible? If so, how?
Greetings, Kathrin

Réponses (0)

Catégories

En savoir plus sur Event Functions dans Help Center et File Exchange

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by