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

7 次查看(过去 30 天)
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);

采纳的回答

Saurav Chaudhary
Saurav Chaudhary 2021-1-27
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 个)

类别

Help CenterFile Exchange 中查找有关 Simscape 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by