Loop over parameters - human capital model

  1. Do not use the same name for the Matlab file and the mod-file. Dynare will overwrite your original Matlab-file
  2. See Running a loop on a parameter. You cannot set x before the first run of Dynare.