How to solve this problem:DYNARE: can't open exapmle1.mod

Dear All:
I install dynare 4.3.0 and matlab 7.10.0(R2010a) on my win7 system.And I already use addpath command to add directory of matlab and examples of Dynare in matlab.But still, when I use command “dynare example1” the error message shows as following:

Configuring Dynare …
[mex] Generalized QZ.
[mex] Sylvester equation solution.
[mex] Kronecker products.
[mex] Sparse kronecker products.
[mex] Local state space iteration (second order).
[mex] Bytecode evaluation.
[mex] k-order perturbation solver.
[mex] k-order solution simulation.
[mex] Quasi Monte-Carlo sequence (Sobol).

??? Error using ==> dynare at 96
DYNARE: can’t open exapmle1.mod

what can I do ?

Are you sure you spelled it correctly? The message is DYNARE: can’t open exapmle1.mod and not example1.mod

Hi Kyri:
sorry for confusion.I spell right in matlab with dynare example1 but still,the error message is the same:

Configuring Dynare …
[mex] Generalized QZ.
[mex] Sylvester equation solution.
[mex] Kronecker products.
[mex] Sparse kronecker products.
[mex] Local state space iteration (second order).
[mex] Bytecode evaluation.
[mex] k-order perturbation solver.
[mex] k-order solution simulation.
[mex] Quasi Monte-Carlo sequence (Sobol).

??? Error using ==> dynare at 96
DYNARE: can’t open example1.mod

Every mod-file you want to execute has to be in Matlab’s current folder. Adding the path to the examples is not sufficient.

Dear jpfeifer:
The example1 is indeed in my current folder in matlab but still the error message is the same.
Is it mean that maybe there is something wrong with my matlab ?
Many thanks for your kindly help!

Try deinstalling and then reinstalling Dynare. And do not forget deleting the path in Matlab after deinstalling.

Dear Jpfeifer:
Thanks.I will try.

Configuring Dynare …
[mex] Generalized QZ.
[mex] Sylvester equation solution.
[mex] Kronecker products.
[mex] Sparse kronecker products.
[mex] Local state space iteration (second order).
[mex] Bytecode evaluation.
[mex] k-order perturbation solver.
[mex] k-order solution simulation.
[mex] Quasi Monte-Carlo sequence (Sobol).
[mex] Markov Switching SBVAR.

The file example.mod could not be located in the “Current Folder”. Check whether you typed in the correct filename
and whether the file is really located in the “Current Folder”.

Current folder is C:\Users\ch\Documents\MATLAB\example\Output\dynare-4.5.7-win\4.5.7, and contains the following mod files:

Error using dynare (line 172)
dynare:: can’t open example.mod
sir i am also facing this problem to open example in dynare

The message is very explicit. The mod-file you are trying to execute is not located in the folder C:\Users\ch\Documents\MATLAB\example\Output\dynare-4.5.7-win\4.5.7

Using 64-bit preprocessor
Starting Dynare (version 4.6.1).
Calling Dynare with arguments: none
ERROR: Could not open file: exp.mod

Error using fprintf
Invalid file identifier. Use fopen to generate a valid file identifier.

Error in dynare (line 276)
fprintf(fid, ‘%s’, result);

somebody please help. facing this issue . … reinstalled dynare properly…even then facing this issue …

Is there a mod-file with that name in the current folder? Also exp is the name of a built-in function.