Page 1 of 1

how can I run example1 on dynare

PostPosted: Wed Oct 23, 2013 9:18 pm
by darline
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

Re: how can I run example1 on dynare

PostPosted: Thu Oct 24, 2013 11:38 am
by jpfeifer
The file must be located in Matlab's Current Folder.

Re: how can I run example1 on dynare

PostPosted: Thu Oct 24, 2013 12:49 pm
by darline
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

Re: how can I run example1 on dynare

PostPosted: Thu Oct 24, 2013 1:11 pm
by jpfeifer
You are confusing the Current Folder with the paths set. It would rather be

Code: Select all
cd c:\dynare\4.3.3\matlab
dynare example1

Re: how can I run example1 on dynare

PostPosted: Thu Oct 24, 2013 1:32 pm
by darline
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

Re: how can I run example1 on dynare

PostPosted: Thu Oct 24, 2013 2:07 pm
by jpfeifer
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:

Code: Select all
addpath c:\dynare\4.3.3\matlab
cd c:\dynare\4.3.3\matlab\examples
dynare example1

Re: how can I run example1 on dynare

PostPosted: Thu Oct 24, 2013 2:23 pm
by darline
thank you very much now it walks. thank you