Algebraic Riccati equation solution in Simulink via C and FORTRAN
You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
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 (2026). LqrSim (https://github.com/giampy1969/simulink-riccati-solver/releases/tag/v1.3.1), GitHub. Retrieved .
General Information
- Version 1.3.1 (172 KB)
-
View License on GitHub
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux
| Version | Published | Release Notes | Action |
|---|---|---|---|
| 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. |
