Undefined function or variable 'mc'

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.

Re: Undefined function or variable 'mc'

Postby Oriana » Tue Mar 10, 2015 2:22 pm

I already followed your advice. The problem is if I use the header/footer of the NK_baseline_steady_state.m file in the Dynare examples folder I get the following error:

Undefined function or variable 'c1welfss'.

Error in nonlinearomega_steadystate (line 26)
c1welf = c1welfss;

Error in evaluate_steady_state_file (line 49)
[ys,check] = h_steadystate(ys_init, exo_ss);

Error in evaluate_steady_state (line 58)
[ys,params,info] = evaluate_steady_state_file(ys_init,exo_ss,M, ...

Error in steady_ (line 54)
[steady_state,params,info] =
evaluate_steady_state(oo_.steady_state,M_,options_,oo_,~options_.steadystate.nocheck);
Error in steady (line 81)
[steady_state,M_.params,info] = steady_(M_,options_,oo_);

Error in nonlinearomega (line 3094)
steady;

Error in dynare (line 180)
evalin('base',fname) ;

And, unfortunately, I have no idea about what should be done.
Attachments
nonlinearomega_steadystate.m
(13.54 KiB) Downloaded 70 times
Oriana
 
Posts: 67
Joined: Fri Jul 18, 2014 2:49 pm

Re: Undefined function or variable 'mc'

Postby jpfeifer » Tue Mar 10, 2015 2:45 pm

That is because you never defined a c1welfss in your mod-file
------------
Johannes Pfeifer
University of Cologne
https://sites.google.com/site/pfeiferecon/
jpfeifer
 
Posts: 6940
Joined: Sun Feb 21, 2010 4:02 pm
Location: Cologne, Germany

Previous

Return to Dynare help

Who is online

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