Dear Professor,
there are also something wrong with my codes about nk model.And I tried different version(4.6.0-5.2)of dynare,which all can not work. nk.mod (1.2 KB) nk_steadystate.m (1.9 KB) nkss.m (472 Bytes)

Dear professor,
I meet another question.I need to consider price-markup and wage-markup shocks in my model.And,In fact the wage-markup equals epsilonw/(epsilonw-1),price-markup equals epsilonp/(epsilonp-1),where the epsilonw is the substitution elasticity between different labors and epsilonp is the substitution elasticity between different products.they are the paramaters in the NK model.But when I compute the steady-state of my model.How could I deal with the wage-markup and price-markup.Should I think of the steady state of them as 1 or compute by epsilonw/(epsilonw-1)?
And if we consider price-mark-up as 1 ,the margin cost=1/price-markup=1.Is it right?
Thank you.

Dear Professor
I have fixed the my model,but It still have some minor bugs，could you help me to check it~
Thank you very much nk.mod (4.1 KB) nk_steadystate.m (2.8 KB) nkss.m (880 Bytes)