Integrator block behaving differently in matlab and scilab

1 Ansicht (letzte 30 Tage)
Kaushik Ojha
Kaushik Ojha am 24 Jun. 2020
I am trying to port a model from scilab to MATLAB and with all the same constants, the result is different. Upon trying to debug this i found out all the signals going into the integrator block are the same (top row of graphs) but the output is different (bottom row of graphs). I am unable to find any documentation relevant to this, I have already tried looking at the parameters but there isn't anything that helps as well as deleting the block and adding another and playing around with the sample time. Is there something i am missing?
Solvers-
Scilab - Dormand-Prince4(5)
MATLAB - ode45 (Dormand-Prince)
Thanks in advance.Scilab graphs on the left, Matlab graphs on the right

Antworten (0)

Kategorien

Mehr zu Simulink finden Sie in Help Center und File Exchange

Produkte


Version

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by