Matlab2016b crashes when stochsimul (order=3) is run

I am using dynare 4.5.1 and stoch simul, order =3 with pruning makes matlab crash. Matlab just closes down. What is wrong? It used to work before with older version of dynare.

This is a known bug with Windows 7. See https://github.com/DynareTeam/dynare/wiki/KnownBugs

The k_order_perturbation mex-file sometimes causes crashes on Windows 7 systems. A workaround consists of replacing the mex-files by the ones from version 4.4.3

This should be fixed it last release (4.5.2).

Best,
St├ęphane