question

This forum is closed. You can read the posts but cannot write. We have migrated the forum to a new location where you will have to reset your password.
Forum rules
This forum is closed. You can read the posts but cannot write. We have migrated the forum to a new location (https://forum.dynare.org) where you will have to reset your password.

question

Postby fmq » Fri Aug 03, 2007 3:08 am

Dear Dynare Users,
I have a technical question: in using Dynare_solve to solve nonlinear equations ,matlab show: "Error using ==> dynare_solve
Solve block = 2 check = 1"why?
All my best
fmq
fmq
 
Posts: 1
Joined: Mon Aug 22, 2005 8:45 am

Postby MichelJuillard » Sat Aug 04, 2007 8:12 am

Before solving for the steady state, we break the model in simultaneous blocks. That can be solved recursively. In your model, Dynare can't solve the second block.

Best

Michel
MichelJuillard
 
Posts: 680
Joined: Thu Nov 18, 2004 10:51 am

MATLAB install

Postby horvathar » Sun Aug 05, 2007 3:14 pm

Dear Everybody!
I've already installed Dynare on two or three computers and it's working. But I' ve problem after doing the same on my own computer. (Same MATLAB version).
So, after unpacking and setting path when I run the example files, I got the following message (after the steady state has appeared):
??? Input argument "C" is undefined.
Error in ==> double at 27
b0=C'*(R\C);

Does anybody have any idea what I did the wrong way?

Thanks, Áron


Other messages follow the first one (I suppose they are the corrollary of the first):

Error in ==> ismember at 85
a = double(a);

Error in ==> setdiff at 110
tf = ~(ismember(a,b));

Error in ==> set_state_space at 23
stat_var = setdiff([1:endo_nbr]',union(union(pred_var,both_var),fwrd_var)); % static variables

Error in ==> dr1 at 124
dr=set_state_space(dr);

Error in ==> resol at 56
[dr,info] = dr1(dr,check_flag);

Error in ==> check at 18
[dr, info] = resol(ys_,1);

Error in ==> kati at 108
check;

Error in ==> dynare at 26
evalin('base',fname) ;
:?: :?:
horvathar
 
Posts: 5
Joined: Sun Aug 05, 2007 2:58 pm
Location: Budapest

Postby MichelJuillard » Mon Aug 06, 2007 1:21 am

double.m where the error arises on line 27 doesn't belong to Dynare. You must have another toolbox interfering with Dynare

Best

Michel
MichelJuillard
 
Posts: 680
Joined: Thu Nov 18, 2004 10:51 am

Postby horvathar » Mon Aug 06, 2007 5:00 am

Thanks.
It interferred with a Hansen Sargent toolbox.
I removed it from the set path menu, and now the Dynare is working.

Áron

MichelJuillard wrote:double.m where the error arises on line 27 doesn't belong to Dynare. You must have another toolbox interfering with Dynare

Best

Michel
horvathar
 
Posts: 5
Joined: Sun Aug 05, 2007 2:58 pm
Location: Budapest


Return to Dynare help

Who is online

Users browsing this forum: Google [Bot] and 8 guests