Problem with the version 4.6.1

Hi,
When I run my model using version 4.1.6, an error appears. Although the same model works normally when run it with version 4.5.4. What is the reason?
The error:

Index exceeds matrix dimensions.
Error in simi_model_1.dynamic_resid (line 69)
rhs = T(5)*(params(7)*y(70)+params(25)*y(10)+T(6)*(y(46)-y(25)));
Error in simi_model_1.dynamic_resid_g1 (line 10)
    residual = simi_model_1.dynamic_resid(T, y, x, params, steady_state, it_, false);
Error in simi_model_1.dynamic (line 6)
        [residual, g1] = simi_model_1.dynamic_resid_g1(T, y, x, params, steady_state, it_, true);
Error in stochastic_solvers (line 118)
        [~,jacobia_] = feval([M_.fname '.dynamic'],z(iyr0),exo_simul, ...
Error in resol (line 103)
    [dr,info] = stochastic_solvers(dr,check_flag,M,options,oo);
Error in check (line 45)
[dr,info,M,options,~] = resol(1,M,options,oo);
Error in simi_model_1.driver (line 739)
oo_.dr.eigval = check(M_,options_,oo_);
Error in dynare (line 293)
evalin('base',[fname '.driver']) ; 

Any help would be greatly appreciated.
Thanks in advance.

best,

salo.

Without seeing the mod file, this is hard to tell.

Try removing all files and folders except the mod file might help,

Could you please provide me with the file?

That’s strange, because I cannot replicate the issue in Dynare 4.6.1 on my machine. Which operating system are you using?

I found that I made a mistake in setting the path, Dynare 4.6.1 is now working fine.
Thank you very much for your attention.