Unobserved components model

Maximum recursion limit of 700 reached. Use set(0,‘RecursionLimit’,N) to change the limit. Be aware
that exceeding your available stack space can crash MATLAB and/or your computer.

mod file attached

thank you in advance
uc.mod (1.37 KB)

You named your data-file as the mod-file. Dynare then creates an m-file with the same name. When Dynare tries to load the data, it runs the m-file again and enters an infinite loop. Rename the data-file.

Thank you. I totally forgot the basic rule.
Have a nice weekend.