Dear all,
I wrote a mod for my housing heterogenous DSGE model.
When running para_est.mod, I met a problem about the order “steady;”
The command window showed
//
hR_h_bar =
0.5230
nO_bar =
0.8566
cO_c_bar =
1.1638
cR_c_bar =
0.3448
??? Undefined function or variable ‘M_’.
Error in ==> para_est at 412
oo_.dr.eigval = check(M_,options_,oo_);
Error in ==> dynare at 180
evalin(‘base’,fname) ;
//
My dynare version is 4.4.2 and matlab version is 7.10.0.
The “check;” show the linear equation rank condition is verified.
I tried a lot of modification but no use.
Can you fix it?
Thanks
para_est.mod (13.3 KB)
Strange. Your file runs on my machine without problems. Try reinstalling Dynare.
Thanks Pro. Jpfeifer.
I reinstall my Dynare several times and tried several times. But the problem still exist.
Why is the function or variable ‘M_’ undefined? Is it because some parameters or variables are naming the wrong way? For example, ‘alpha’ should be named as ‘alphha’ in case some variables may be overwritten by Matlab built-in function or order.
[quote=“zhuzixiang”]
Thanks Pro. Jpfeifer.
I reinstall my Dynare several times and tried several times. But the problem still exist.
Why is the function or variable ‘M_’ undefined? Is it because some parameters or variables are naming the wrong way? For example, ‘alpha’ should be named as ‘alphha’ in case some variables may be overwritten by Matlab built-in function or order.[/quote]
Thanks Pro. Jpfeifer!
When I put the para_est.mod in another empty file, then it works. The problem results from that in the current folder path there’s a steady.m-file written by myself. When I remove this m-file, then it work.