Endless computing in matlab


i’m running some experiments for a two-country model.

however, if i run the code attached in matlab:

Configuring Dynare …
[mex] Generalized QZ.
[mex] Sylvester equation solution.
[mex] Kronecker products.
[mex] Sparse kronecker products.
[mex] Bytecode evaluation.
[mex] k-order perturbation solver.
[mex] k-order solution simulation.

Starting Dynare (version 4.1.0).
Starting preprocessing of the model file …
Found 33 equation(s).
Evaluating expressions…done
Computing static model derivatives:

  • order 1
    Computing dynamic model derivatives:
  • order 1
    Processing outputs …done
    Preprocessing completed.
    Starting MATLAB/Octave computing.

and than it goes on forever… i would be grateful for any help.

upload.mod (3.97 KB)


On my installation of Dynare, your MOD file fails with:

ERROR: upload.mod:127.1-8: Unknown symbol: RER

In other terms, you use symbol “RER” without having ever declared it.

I don’t understand why you don’t get the error message. What is your platform (Windows, Linux, Mac) and which version of MATLAB or Octave are you using?