Running a loop on a parameter

In Dynare 4.5, if you do perfect foresight simulations, you need to loop over

perfect_foresight_setup
perfect_foresight_solver

instead of stoch_simul. Both functions do not take input arguments. Note that the error code is now not info~=0, but

oo_.deterministic_simulation.status ~= 1