Algebric loop in simulink
2 ビュー (過去 30 日間)
古いコメントを表示
How to make algebric loop in simulink,
I have requirment where I have to add two constant numbers with increment of 1, a=constant b=constant
a1=a+b; a2=a1+b; a3=a2+b; a4=a3+b;
採用された回答
その他の回答 (2 件)
Muruganandham Subramanian
2012 年 11 月 9 日
編集済み: Muruganandham Subramanian
2012 年 11 月 9 日
You can use 'from' and 'goto' blocks from simulink-->signal routing library.
3 件のコメント
Muruganandham Subramanian
2012 年 11 月 9 日
a1=a+b( for a1(tag name) use goto block to store the value(either 'local' or global), then do continuously..
Anthony Poulin
2012 年 11 月 9 日
Hey, in your case you don't have an algebrical loop because your operations are in ''cascade'' (english translation of a french word, I don't know if it's understandable). If you want to create one, you have to make an operation like a1 = a + a1.
0 件のコメント
参考
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!