Does simulink support calculation in which a declared variable can change its value?
Infos
Cette question est clôturée. Rouvrir pour modifier ou répondre.
Afficher commentaires plus anciens
for example, for any declared variable "U"
U = U+5;
U = U*a;
I found that after a variable is calculated by a block, its output always become another variable. such as
C = U+5;
B = U*a;
Thanks
Tehsin
2 commentaires
Azzi Abdelmalek
le 9 Oct 2012
what do you mean? It's obvious, after U=U+5, U will change
TeHsin
le 9 Oct 2012
Réponses (1)
Sachin Ganjare
le 9 Oct 2012
0 votes
If I understand correctly, you want use U as a global variable. Is it correct?
1 commentaire
TeHsin
le 9 Oct 2012
Cette question est clôturée.
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!