for more practical simulation of an optimal control problem, I need to consider the computation time which is needed for solving optimization in optimal control (regardless of discretization and optimization method I use in Matlab). For example, in MPC control, I need to consider the optimization calculation time in order to obtain a control action as the states of system evolve in time with their own dynamic speed (For example stable systems with larger negative eigenvalues have faster dynamic )