How can I run example1 on dynare

Hi to alll of U
I don’t know how to run those examples which are on dynare. When I try, this message appears:
dynare bkk

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.

??? Error using ==> dynare at 96
DYNARE: can’t open bkk.mod
please help me I don’t know how to do
tanks
sorry for my bad english but I am a french speaker

The file must be located in Matlab’s Current Folder.

Thanks very much but it does’nt walk, it gives me the same message

addpath c:\dynare\4.3.3\matlab
dynare example1

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.

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

please I nead your answer
Thanks in advance
Darline

You are confusing the Current Folder with the paths set. It would rather be

cd c:\dynare\4.3.3\matlab dynare example1

I don’t understand why it does’nt walk.
SELECT ALL
??? Undefined function or method ‘SELECT’ for input arguments of type ‘char’.

cd c:\dynare\4.3.3\matlab
dynare example1

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.

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

it does’nt change
thanks
Darline

My mistake. You need to add the matlab folder of dynare to the path and set the current folder to the examples folder where the mod-file is located. Thus:

addpath c:\dynare\4.3.3\matlab cd c:\dynare\4.3.3\matlab\examples dynare example1

thank you very much now it walks. thank you