In an assignment A(I) = B, the number of elements in B and I must be the same.

Error in get_complementarity_conditions (line 66)

ub(k) = str2num(str(kop+1:end));

Error in initialize_stacked_problem (line 53)

[lb,ub,pfm.eq_index] = get_complementarity_conditions(M,options.ramsey_policy);

Error in solve_stacked_problem (line 33)

[options, y0, yT, z, i_cols, i_cols_J1, i_cols_T, i_cols_j, i_cols_1, i_cols_0, i_cols_J0,

dynamicmodel] = …

Error in perfect_foresight_solver_core (line 116)

[oo_.endo_simul, oo_.deterministic_simulation] = …

Error in perfect_foresight_solver (line 63)

oo_ = perfect_foresight_solver_core(M_,options_,oo_);

Error in my_model_def_0005.driver (line 298)

perfect_foresight_solver;

Error in dynare (line 293)

evalin(‘base’,[fname ‘.driver’]) ;