Help: Filtering differences Matlab vs Dynare

I am not sure I understand what you are doing here. You are not solving the model in Dynare but rather entered a backward-looking model. In any case, there are related threads: