Problems when used under parfor
Suppose you estimate a DSGE model by ML, forcing the optimisation route to use the parallel pool for derivative computations, then you get similar warnings to the ones mentioned here: https://www.mathworks.com/matlabcentral/newsreader/view_thread/251091 followed by an error.
Perhaps loadobj and saveobj methods are needed? At the moment I'm trying to hack in a solution by getting dsge_likelihood.m to convert structs to dseries if needed.