error(['det_cond_forecast:: the number of exogenous controlled variables ('int2str(n_control_exo)') has to be equal to the number of constrained endogenous variabes ('int2str(n_endo_constrained)')'])
end;
else
error('det_cond_forecast:: to run a deterministic conditional forecast you have to specified the exogenous variables controlled using the option controlled_varex in forecast command');
disp(['Divergence in Newton: reducing the path length alpha='num2str(alpha)' result='num2str(result)' sum(sum)='num2str(sum(sum(isfinite(oo_.endo_simul(:,time_index_constraint)))))' ny * length(time_index_constraint)='num2str(ny*length(time_index_constraint))' oo_.deterministic_simulation.status='num2str(oo_.deterministic_simulation.status)]);
error(['det_cond_forecast:: the number of exogenous controlled variables ('int2str(n_control_exo)') has to be equal to the number of constrained endogenous variabes ('int2str(n_endo_constrained)')'])
end;
else
error('det_cond_forecast:: to run a deterministic conditional forecast you have to specified the exogenous variables controlled using the option controlled_varex in forecast command');