Error_ Too many input arguments.

Hi All,
I just finished the codes for non-linearized model and have checked the equations very carefully for a couple of times but there is always this error:
??? Error using ==> var
Too many input arguments.
I have put the equations which should be log-linearized and my complete codes in the attachment. k which indicates the capital is always given from the last period. That's why in the codes you can notice one period lag from z and n.
Please have a look. Thank you very much.
Cheers,
Lisa
I just finished the codes for non-linearized model and have checked the equations very carefully for a couple of times but there is always this error:
??? Error using ==> var
Too many input arguments.
I have put the equations which should be log-linearized and my complete codes in the attachment. k which indicates the capital is always given from the last period. That's why in the codes you can notice one period lag from z and n.
Please have a look. Thank you very much.
Cheers,
Lisa