関数の中で関数を使用するには? How do I use a function in a function?
21 次查看(过去 30 天)
显示 更早的评论
采纳的回答
Akash
2024-5-13
Hi 松,
Simulink cannot solve algebraic loop, if it involves blocks that cannot be assigned algebraic variables. These blocks might include those with discrete outputs, non-double or complex outputs, Stateflow blocks, or nonvirtual subsystems.
When an algebraic loop is detected, you have to leave the loop as it is or you have to eliminate it. In some scenarios, adding an 'Initial Condition' block or an 'Algebraic Constraint' block may solve the problem, though it might not be sufficient for all cases. Alternatively, introducing a small delay into the loop, using either a 'discrete delay' block or a 'memory' block, can sometimes effectively remove the loop by breaking the immediate dependency cycle.
For more information and potential solutions to algebraic loops in Simulink, you can go through the MATLAB Central discussion linked below.
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 トラブルシューティング 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!