I'm trying to solve a lineal differential equation system, and I,m proving with the mlab.rk4 function.

The problem I've found is that if the solution if a complex number, I can't use this functin, because it doesn't accept complex number, and I can only get the real case.

Have anyone treat with this problem?

What do you use to solve differential equation systems?