Does simulink support calculation in which a declared variable can change its value?
Informazioni
Questa domanda è chiusa. Riaprila per modificarla o per rispondere.
Mostra commenti meno recenti
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 Commenti
Azzi Abdelmalek
il 9 Ott 2012
what do you mean? It's obvious, after U=U+5, U will change
TeHsin
il 9 Ott 2012
Risposte (1)
Sachin Ganjare
il 9 Ott 2012
0 voti
If I understand correctly, you want use U as a global variable. Is it correct?
1 Commento
TeHsin
il 9 Ott 2012
Questa domanda è chiusa.
Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!