loop algebraic and variable signal
조회 수: 2 (최근 30일)
이전 댓글 표시
Hi....i need help with a algebraic loop ...
I am developing a dinamic system, where i need that my sfunction have inputport that receive variable signal....i have solved the problem of inputport and outport dinamically but my s-functions is feedback then i have the following errorand don`t know to solve.
Block 'untitled/Control del Ciclo' has variable-size signals, and it resides within an algebraic loop. Variable-size signals do not support algebraic loops. Consider eliminating the algebraic loop.
please help me..
댓글 수: 0
답변 (2개)
Sebastian
2011년 2월 8일
As the error message states, the iterative solver for algebraic loops is not able to solve the loop in your system because it involves variable-size signals. In that case the loop needs to be eliminated by a redesign of the model or by breaking the loop by adding a Memory block for instance.
See http://www.mathworks.com/support/solutions/en/data/1-16V6S/index.html?solution=1-16V6S for more details.
댓글 수: 0
Vieniava
2011년 2월 8일
You may try to insert unit delay block
into the feedback line. Of course if this delay isn't critical for your simulation aim.
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Array and Matrix Mathematics에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!