Solving Index-1 DAEs in Simulink using Level-2 M S-functions
Although there have been previous examples that solved DAEs in Simulink, there is no documentation for solving DAEs through S-functions. This example solves the Robertson problem (stiff) in Simulink using an S-function called HB1_DAE_sfun.m. The results are compared with hb1dae.m, which is a text-based version that is available as an example with MATLAB.
Cita come
Atul Bhargav (2025). Solving Index-1 DAEs in Simulink using Level-2 M S-functions (https://it.mathworks.com/matlabcentral/fileexchange/17567-solving-index-1-daes-in-simulink-using-level-2-m-s-functions), MATLAB Central File Exchange. Recuperato .
Compatibilità della release di MATLAB
Compatibilità della piattaforma
Windows macOS LinuxCategorie
- Simulink > Block and Blockset Authoring > Author Block Algorithms > Author Blocks Using C/C++ > Author Blocks Using C MEX S-Functions > Create C/C++ S-Functions >
Tag
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Scopri Live Editor
Crea script con codice, output e testo formattato in un unico documento eseguibile.
Versione | Pubblicato | Note della release | |
---|---|---|---|
1.0.0.0 |