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.
显示 更早的评论
problem with model calibration
1 个评论
Sara
2014-7-14
Are you using the same ode solver with the same options?
回答(1 个)
3 个评论
Sara
2014-7-15
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
2014-7-16
Sara
2014-7-16
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.
类别
在 帮助中心 和 File Exchange 中查找有关 Manual Performance Optimization 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
