Algebraic Loop Problem
显示 更早的评论
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 个)
Shpat
2011-3-15
0 个投票
the brutal solution is use a very small delay
类别
在 帮助中心 和 File Exchange 中查找有关 Discontinuities 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!