How do I find out the ODE function that the solver in Simulink uses?
2 views (last 30 days)
I would like to find out the ODE function that the "ode45 (Dormand-Prince)" solver in Simulink uses. When I call the MATLAB function "ode45", the input argument requests for a ODE function that describes the system.
However in Simulink, it doesn't tell me the ODE function it uses. Is there any way to find out?
Sainath Varikuti on 17 Aug 2015
In Simulink a dynamic system is represented as states. Therefore, it is not possible to get the mathematical representation of ODE function directly. However, you can obtain the state-space representation of Simulink model using Simulink Control Design as discussed here . The state-space object will give us the system dynamics.