Does simulink support calculation in which a declared variable can change its value?
Info
Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.
Ältere Kommentare anzeigen
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 Kommentare
Azzi Abdelmalek
am 9 Okt. 2012
what do you mean? It's obvious, after U=U+5, U will change
TeHsin
am 9 Okt. 2012
Antworten (1)
Sachin Ganjare
am 9 Okt. 2012
0 Stimmen
If I understand correctly, you want use U as a global variable. Is it correct?
1 Kommentar
TeHsin
am 9 Okt. 2012
Diese Frage ist geschlossen.
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!