diff --git a/matlab/dynare_estimation_1.m b/matlab/dynare_estimation_1.m
index 9be0c34402e2c16fdf6e3f6dc809b49560f695ee..5868fffd123a93b985bf6c34a6b4c942c3af44b3 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};