Page 1 of 1

Error in Matlab

PostPosted: Tue May 04, 2010 2:24 am
by adeem
Hi there,

I am getting the following error whilst running my test.mod file.

cd Dynare
>> ls

. .. 4.1.0 4.1.1 work

>> cd work
>> ls

. .. dynare.mdl test.mod

>> 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

Re: Error in Matlab

PostPosted: Wed May 12, 2010 10:08 am
by SébastienVillemot
Hi,

I guess your problem comes from the fact that your are working on a network drive. I have never tested that setup. Try to copy Dynare and your MOD file to your local drive to see if this fixes the problem.

Best,

Re: Error in Matlab

PostPosted: Wed May 12, 2010 12:49 pm
by adeem
You were right.thanks sebastian.