image thumbnail

Solving Index-1 DAEs in Simulink using Level-2 M S-functions

version 1.0.0.0 (9.07 KB) by Atul Bhargav
This example illustrates the use of Simulink Level-2 S-functions to solve Index-I DAEs

1K Downloads

Updated 16 Nov 2007

View License

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.

Cite As

Atul Bhargav (2021). Solving Index-1 DAEs in Simulink using Level-2 M S-functions (https://www.mathworks.com/matlabcentral/fileexchange/17567-solving-index-1-daes-in-simulink-using-level-2-m-s-functions), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2007b
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!