I might be able to help given that I know at least a little about diff eq.s in matlab, but first:
you say you know I(t), but in your equations I appears as a function of two variables. And if you know THAT function, then what's the use of the first equation?