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