How to create a persistent variable in the matlab function block inside simulink?

12 vues (au cours des 30 derniers jours)
Anoop Grewal
Anoop Grewal le 28 Avr 2018
Commenté : Anoop Grewal le 28 Avr 2018
What is a best way to create a persistent variable in the matlab function block inside simulink? So that the values inside that variable can be changed insude the matlab function block at a simulation time step, and the new value is available at the next simulation step when the function is run again.

Réponses (1)

Walter Roberson
Walter Roberson le 28 Avr 2018

Catégories

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

Community Treasure Hunt

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

Start Hunting!

Translated by