why do we get different responses when simulating the same ODE model with matlab and simulink, even when using the same initial values and parameters.
Show older comments
problem with model calibration
1 Comment
Sara
on 14 Jul 2014
Are you using the same ode solver with the same options?
Answers (1)
3 Comments
Sara
on 15 Jul 2014
Was the simulink model implemented by someone else? You may want to try to use odeset/odeget to check with tolerance is set in the two systems (simulink vs. command line)
rafik
on 16 Jul 2014
Sara
on 16 Jul 2014
I don't have the simulink so I can't test it, unfortunately. I would recommend setting the same options in both the simulink and the matlab to be sure that they match first. Can you attach the published results? I could take a look at the command line implementation if that could help.
Categories
Find more on Manual Performance Optimization in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!