Integrator block behaving differently in matlab and scilab

1 vue (au cours des 30 derniers jours)
Kaushik Ojha
Kaushik Ojha le 24 Juin 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

Réponses (0)

Catégories

En savoir plus sur Simulink dans Help Center et File Exchange

Produits


Version

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by