I have a function that repeatedly solves an ODE  maximizing a certain parameter  and I want to do that for many various inputs Each input takes several minutes  so I'm using parcellfun to speed things up - but it stops working with a large number of inputs/outputs