Error 108

Hi there,

I am using matlab 7.9.0 (R2209b). I am receiving the following error whilst running my test.mod file ( take note that I had written code in Notepad and then saved it in …\Dynare\work folder.

cd \comm2\Documents_redirect$\ak683\Dynare\work
cd

\comm2\Documents_redirect$\ak683\Dynare\work

dynare test

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.

??? Error using ==> dynare at 108
DYNARE: can’t open test.mod

dynare test.mod

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.

??? Error using ==> dynare at 108
DYNARE: can’t open test.mod

Kindly advise.

Adeem

Hi,

you should check the path, in particular if your mod file “test” is in the repertory “work”. Type for instance: “ls” in the command window of matlab to be sure.

Best

Thank you indeed.

Now I am facing the following problem, Is there a problem with my .mod file?

dynare test

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.

Warning: DOS programs may not execute correctly when the current directory is a UNC pathname.

In dynare at 122
‘\comm2\Documents_redirect$\ak683\Dynare\work’
CMD.EXE was started with the above path as the current directory.
UNC paths are not supported. Defaulting to Windows directory.
Starting Dynare (version 4.1.1).
Starting preprocessing of the model file …
ERROR: Could not open file: test.mod

??? Error using ==> dynare at 126
DYNARE: preprocessing failed

Kindly advise.

Adeem