HI, everyone, I wonder if there is now a more convenient way to loop over parameters using dynare 4.5(unstable).
If there is , I am so honored if you let me know.
and I am learning about the code above, and have some questions?
first_time = 1;
for i=1:length(rhos)
    if first_time
        set_param_value('rho',rhos(i));
        dynare your_mod_file_here noclearall;
        first_time = 0;
    else
        set_param_value('rho',rhos(i));
        info = stoch_simul(var_list_);
        if info;
          disp(['Computation fails for rho = ' num2str(rho)]);
        end;
    end
end
1, why should   "info=1" be judged? so when info=1, the model is wrong?
2, " info = stoch_simul(var_list_);" Since the "var_list_" is sometime empty,how should I do?
			
		
