Info
此问题已关闭。 请重新打开它进行编辑或回答。
Does simulink support calculation in which a declared variable can change its value?
1 次查看(过去 30 天)
显示 更早的评论
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 个评论
回答(1 个)
Sachin Ganjare
2012-10-9
If I understand correctly, you want use U as a global variable. Is it correct?
1 个评论
此问题已关闭。
另请参阅
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!