diff --git a/matlab/dynare_estimation_1.m b/matlab/dynare_estimation_1.m
index 83d504e150120842052fc36216b8134198d6efa0..8caa14a205682c4a1904068f0f6fecb1a3898917 100644
--- a/matlab/dynare_estimation_1.m
+++ b/matlab/dynare_estimation_1.m
@@ -380,7 +380,7 @@ if ~isequal(options_.mode_compute,0) && ~options_.mh_posterior_mode_estimation
                         error('gmhmaxlik: The value of option AcceptanceRateTarget should be a double between 0 and 1!')
                     end
                   otherwise
-                    Warning(['gmhmaxlik: Unknown option (' options_list{i,1}  ')!'])
+                    warning(['gmhmaxlik: Unknown option (' options_list{i,1}  ')!'])
                 end
             end
         end