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

조회 수: 4 (최근 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