Error when running Dynare from matlab

See [Getting errors from matlab after running dynare)