Fixed bug in multi outputs:

y = $1_daeo(x(i,:),tt)'; ---> y = $1_daeo(x(i,:),tt);