Error code 37

The message came out when I run my model, what is code 37? Actually, what is info(1) and info(2) in the code means?

??? Error using ==> print_info
MJDGGES returns the following error code37

Error in ==> check at 21

Error in ==> dht_inventory at 151

Error in ==> dynare at 26
evalin(‘base’,fname) ;

This is an internal error code from Lapack. I believe it means that it couldn’t compute the 37th generalized eigenvalue.

I very rarely see such errors. You may want to use Matlab debugger to look at D and E before the call to mjdgges in dr1.m

info(1) and info(2) are used by various functions to communicate to Dynare the reason for failure.