how/when the ode45 solver is executed within a Simulink model as level-2 s function>>??
2 次查看(过去 30 天)
显示 更早的评论
I'm trying to understand how/when the solver is executed within a Simulink model. Specifically, I have a rather complicated MATLAB script that uses ode45 that I need to convert to a level 2 m-file s-function for use within a Simulink model. It's not clear whether that code should go in the Outputs() function, the Derivates() function, etc. as I have yet to find any good documentation describing how all this stuff works.
0 个评论
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Ordinary Differential Equations 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!