Page 1 of 1

Displaying the Jacobian matrix

PostPosted: Mon May 20, 2013 3:17 pm
by jonathanb
Hi,
I have the following error when I run my non-linear model: The Jacobian matrix evaluated at the steady state contains elements that are not real or are infinite.

I would like to display this Jacobian matrix in order to solve by myself this problem. Is it possible ?

Best,
Jonathan

Re: Displaying the Jacobian matrix

PostPosted: Tue May 21, 2013 6:32 am
by jpfeifer
Hi, after the error, first run
Code: Select all
exo = [oo_.exo_steady_state; oo_.exo_det_steady_state];

Then run
Code: Select all
[res,jacob]=example1_static(oo_.dr.ys,exo,M_.params);

where example1 was the name of the mod-file. Change this accordingly. You should use Matlab's debugging mode to find out where the problem is.

Re: Displaying the Jacobian matrix

PostPosted: Thu Oct 02, 2014 2:57 am
by Mandy
hi, I have the same problem as yours. Did you successfully solve your problem?

Re: Displaying the Jacobian matrix

PostPosted: Fri Oct 03, 2014 7:52 am
by jpfeifer
Try using
Code: Select all
options_.debug=1

or provide your mod-file.