Is there a way to implement an own solver for Simulink and Simscape models?
3 views (last 30 days)
Show older comments
Jaron Schole
on 21 Jan 2021
Answered: Saurav Chaudhary
on 27 Jan 2021
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);
0 Comments
Accepted Answer
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.
0 Comments
More Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!