diff --git a/matlab/dynare_estimation_1.m b/matlab/dynare_estimation_1.m
index 9f3ad5f7f7ce00f21a28861f6bc0eeb7f3a674aa..83d504e150120842052fc36216b8134198d6efa0 100644
--- a/matlab/dynare_estimation_1.m
+++ b/matlab/dynare_estimation_1.m
@@ -288,7 +288,7 @@ if ~isequal(options_.mode_compute,0) && ~options_.mh_posterior_mode_estimation
                     nit = options_list{i,2};
                   case 'InitialInverseHessian'
                     H0 = eval(options_list{i,2});
-                  case '''TolFun'''
+                  case 'TolFun'
                     crit = options_list{i,2};
                   case 'NumgradAlgorithm'
                     numgrad = options_list{i,2};