Simple RBC model setup error for bayesian estimation

I would recommend to use straightforward code that makes the mapping explicit. You could e.g. have a look at

There I have code for Matlab and Dynare returning the same results.