Does simulink support calculation in which a declared variable can change its value?
信息
此问题已关闭。 请重新打开它进行编辑或回答。
显示 更早的评论
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 个评论
Azzi Abdelmalek
2012-10-9
what do you mean? It's obvious, after U=U+5, U will change
TeHsin
2012-10-9
回答(1 个)
Sachin Ganjare
2012-10-9
0 个投票
If I understand correctly, you want use U as a global variable. Is it correct?
1 个评论
TeHsin
2012-10-9
此问题已关闭。
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!