yxing006 发表于 2012-11-14 21:18 
epoh老师你好,
我一直在试着在matlab中用dynare,
这是我的code:
你的code是对的,这个程序很容易执行.
http://www.dynare.org/documentat ... nd-support/examples[/url]
addpath c:\dynare\4.3.1\matlab
cd c:\dynare\rbc
dynare rbc_indivisible_cu
%%%%%%%
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.
Starting Dynare (version 4.3.1).
Starting preprocessing of the model file ...
Found 8 equation(s).
Evaluating expressions...done
Computing static model derivatives:
- order 1
Computing dynamic model derivatives:
- order 1
Processing outputs ...done
Preprocessing completed.
Starting MATLAB/Octave computing.
STEADY-STATE RESULTS:
y 0.916363
c 0.707811
k 9.29097
i 0.208551
u 0.891826
l 0.30979
y_l 2.95802
z 0
....
....
....