Integrator block behaving differently in matlab and scilab

1 view (last 30 days)
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

Answers (0)

Categories

Find more on Simulink in Help Center and File Exchange

Products


Release

R2019a

Community Treasure Hunt

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

Start Hunting!