Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

Thread Subject:
New solver in Simulink

Subject: New solver in Simulink

From: Michal Kraus

Date: 8 Oct, 2009 07:21:38

Message: 1 of 3

Hello,
can we change or add our new solver into Simulink (Simulation->Configuration Parameters->Solver->Solver Options->Solver:)
Our solver has the same interface like the standard solvers in Matlab SImulink and we would like to integrate it into Matlab Simulink.

Subject: New solver in Simulink

From: TOMISLAV

Date: 16 Nov, 2009 18:49:02

Message: 2 of 3

Ha, I have the same problem. I want to incorporate new(custom made) solver in Simulink.
This should be possible, since not every simulation is possible/optimal with the proposed solvers in Simulink.

So is there an answer to this issue?


"Michal Kraus" <kraus@fit.vutbr.cz> wrote in message <hak3u2$41b$1@fred.mathworks.com>...
> Hello,
> can we change or add our new solver into Simulink (Simulation->Configuration Parameters->Solver->Solver Options->Solver:)
> Our solver has the same interface like the standard solvers in Matlab SImulink and we would like to integrate it into Matlab Simulink.

Subject: New solver in Simulink

From: riccardo

Date: 17 Nov, 2009 08:47:01

Message: 3 of 3

"TOMISLAV " <tossomail@yahoo.com> wrote in message <hds6qu$mp7$1@fred.mathworks.com>...
> Ha, I have the same problem. I want to incorporate new(custom made) solver in Simulink.
> This should be possible, since not every simulation is possible/optimal with the proposed solvers in Simulink.
>
> So is there an answer to this issue?
>
>
> "Michal Kraus" <kraus@fit.vutbr.cz> wrote in message <hak3u2$41b$1@fred.mathworks.com>...
> > Hello,
> > can we change or add our new solver into Simulink (Simulation->Configuration Parameters->Solver->Solver Options->Solver:)
> > Our solver has the same interface like the standard solvers in Matlab SImulink and we would like to integrate it into Matlab Simulink.

I raised the same issue few years ago to Simulink support, as an improvement request.
As far as I know, the answer is still "NO YOU CAN'T", at least for interactive simulations.
If you have RTW, it should be possible to autocode your model and replace the standard solver with your own, but you'll haveto run the simulation as an .exe file.
HTH
Riccardo

Tags for this Thread

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Contact us