Solving a Nonlinear programming problem online in Simulink
조회 수: 6 (최근 30일)
이전 댓글 표시
Hi everybody,
I have a pretty big simulink model where I need to implement a state estimator which takes online measurement and gives back estimated states of a system ( which is a portion of the simulink model) in order to control it.
In order to do so I need to solve a Nonlinear programming problem at each time step. As it looks, is not possible to implement fmincon in simuling for online purposes. I tried using CasADi (which uses Sundials) but generating C-code from that is not easy, so I couldn't plug in my .m function where I use casadi in a Simulink block.
Is there another way to do it? Do you know other opensource solvers which can be MEXed and used in simulink?
Thank you in advance.
Bruno
댓글 수: 0
답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Parameter Estimation에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!