Code Generation with Local Solvers

7 Ansichten (letzte 30 Tage)
Paul Müller
Paul Müller am 28 Aug. 2023
I was excited to see that since Simulink R2022a, local solvers can be used for reference models. Our use case requires mixing implicit and explicit fixed step size solvers, so this would be a great simplification of our current process.
Sadly, the Code Generation Limitation page states that "You can not generate code for a model that uses a local solver". This would be our primary application.
Is there an inherent reason for this limitation, or might this be a potential addition in near future versions? Also, is there a better workaround than generating C-code from the reference model (including the specific solver) and inserting this code into the main model as a non-inlined S-function?

Antworten (0)

Kategorien

Mehr zu Simulink Coder finden Sie in Help Center und File Exchange

Produkte


Version

R2023a

Community Treasure Hunt

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

Start Hunting!

Translated by