3rd order approximation - Matlab shuts down

I am working with a NK model and I can simulate it at order 1 and 2 without problems. But when simulating at order 3 - that is, stoch_simul(order=3,irf=20) - Matlab shuts down. I tried several times, also on different computers.
I’d be grateful for any hint on why it might happen.

Please provide more information: the mod-file and your Matlab/Octave version, your operating system and the Dynare version.

I finally resolved the problem, the parameters were wrong !
All the best

Thanks. We will look into it and keep you updated. But it might take a while.