Undefine Variable Error

I corrected the code on this page : https://forum.dynare.org/t/the-jacobian-or-the-dynamic-model-contains-inf/10854/5, extracted the results, but I encountered that message.
This is the file of the corrected code:

code.mod (22.7 KB)

code_steadystate.m (9.0 KB)