Residuals in Maximum likelihood estimation

Hello,

I want to know if there is a way to extract the residuals terms (the time series of shocks in a DSGE) following an estimation by maximum likelihood in Dynare.

Thanks
Gabriel