something funny happened when I was running a dynare code for Ireland (2004) model. Everything went fine except the check procedure. Below is the error message and I can't understand it.
??? Undefined function or variable "g".
Error in ==> check at 28
sscond(1) = (g-1+delt)*kss - iss;
Error in ==> Ireland at 145
check;
Error in ==> dynare at 26
evalin('base',fname) ;
I attach the code here. Actually, everyone can google and find it.