Is there a way to implement an own solver for Simulink and Simscape models?

8 views (last 30 days)
I would like to know, if I can implement an own solver for my Simulink and Simscape models.
Maybe so that I can extract the function (@dae) that was generated by Simulink or Simscape and give it to my own Solver?
[t,y] = OwnSolver(@dae,tspan,y0);

Accepted Answer

Saurav Chaudhary
Saurav Chaudhary on 27 Jan 2021
It is not possible to define custom solver for all the toolboxes. For exampe you can define solver for Model Predictive Control Toolbox and more information about same can be found at the documentation link attached below.

More Answers (0)

Categories

Find more on Simscape in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!