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!