Algebraic Loop Problem

조회 수: 1 (최근 30일)
Tan Edwin
Tan Edwin 2011년 3월 15일
Hi
i have a S-function block that works perfectly fine when i didnt feedback it as an input for the S-function.
When i feedback my results to the s-function, it comes out a algebraic loop error or the output becomes 0. What i want is just used the calculated value from the S-function block for the next time step.
Is there any other methods to get what i want other than looping back the value?
  댓글 수: 1
Tan Edwin
Tan Edwin 2011년 3월 15일
i dun need the matlab to calculate any convergence solution

댓글을 달려면 로그인하십시오.

채택된 답변

Tan Edwin
Tan Edwin 2011년 3월 15일
Sry didnt notice that there were post on this already.
http://www.mathworks.com/matlabcentral/answers/925-loop-algebraic-and-variable-signal
Problem solved by using the unit delay block.

추가 답변 (1개)

Shpat
Shpat 2011년 3월 15일
the brutal solution is use a very small delay

제품

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by