- Trust-region: https://www.mathworks.com/help/optim/ug/unconstrained-nonlinear-optimization-algorithms.html#brnpcy5
- Line search: https://www.mathworks.com/help/optim/ug/unconstrained-nonlinear-optimization-algorithms.html#f15468
Algebraic Loops in MATLAB
50 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Goncalo
el 8 de Nov. de 2024 a las 16:35
Respondida: Swastik Sarkar
el 11 de Nov. de 2024 a las 3:49
Hi all,
I am familiar with the concept of Algebraic Loops and the methods to solve them.
I am working on a project that requires translating a Simulink model to .m files. In this model, we have an algebraic loop, and for me it's not clear how I would implement this in standard .m files, or if (and how) MATLAB would be able to solve it. Do I need to formulate a specific nonlinear optimization problem in MATLAB or can MATLAB somehow identify the loop (as simulink does) and solve it using a suitable solver?
0 comentarios
Respuestas (1)
Swastik Sarkar
el 11 de Nov. de 2024 a las 3:49
The following MATLAB documentation provides details on how Simulink solves algebraic loops: https://www.mathworks.com/help/simulink/ug/algebraic-loops.html#bsn46y8-2.
Simulink utilizes trust-region or line-search methods to solve algebraic loops, which may require the Optimization Toolbox. More information on these methods can be found here:
The fminunc function can be particularly useful in this context.
Hope this helps
0 comentarios
Ver también
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!