Info
This question is closed. Reopen it to edit or answer.
Does simulink support calculation in which a declared variable can change its value?
1 view (last 30 days)
Show older comments
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 Comments
Answers (1)
Sachin Ganjare
on 9 Oct 2012
If I understand correctly, you want use U as a global variable. Is it correct?
1 Comment
See Also
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!