LqrSim
simulink-riccati-solver
Algebraic Riccati equation solution in Simulink via C and FORTRAN
This s-function solves Riccati equations in Simulink® without calling MATLAB® it is fast and supports code generation.
Specifically, the s-function is a level-2 gateway that calls several FORTRAN routines written by Arnold and Laub in the early eighties and publicly available under the cascade sublibrary of netlib. FORTRAN code is included in the Readme file, along with further instructions on how to compile and link the s-function.
Giampiero Campa, October 2002 and January 2009,
Riccardo Bevilacqua & Jason Hall, NPS Spacecraft Robotics Lab, October 2008
Cite As
Giampiero Campa (2024). LqrSim (https://github.com/giampy1969/simulink-riccati-solver/releases/tag/v1.3.1), GitHub. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
- Control Systems > Control System Toolbox >
- Control Systems > Control System Toolbox > Control System Design and Tuning > State-Space Control Design and Estimation >
- Control Systems > Nonlinear Systems > Nonlinear Control >
- MATLAB > External Language Interfaces > Fortran with MATLAB >
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
1.3.1 | See release notes for this release on GitHub: https://github.com/giampy1969/simulink-riccati-solver/releases/tag/v1.3.1 |
||
1.3.0.0 | Fully converted to BSD License |
||
1.2.0.0 | Many thanks to Jason Hall and Riccardo Bevilacqua for your excellent job in enabling native matrices inputs to the block and
|
||
1.1.0.0 | This version works with MATLAB 7.6 (R2008a), uses native matrix signals, is re-mexable on every platform, and is better integrated with real time workshop (Thanks Jason & Riccardo). |
||
1.0.0.0 | Recompiled mex files with matlab 7.1 so that everything works fine with newer versions requiring the .mexw32 extension. The .dll files are retained to the benefit users working with versions prior to 7.1, other users may delete them. |