Solving a system of matrix differential equations using DifferentialEquations.jl

Your state array has to be an abstractArray containing numbers, yours is an array of arrays.

You can either include your two matrices into a higherdimensional array u0 = zeros(2,3,3) , or you use more specialized types such as from RecursiveArrayTools.jl