Custom simulation for dynare

Is there a command similar to the dynare++ command of dynare_simul for dynare?
So one can specify the shocks and run custom simulations and see how variables evolve over time.

You could use the “periods”-option of stoch_simul. If you want to provide your own random numbers, you must use the simult_.m-function directly. An example is at