diff --git a/matlab/dynare_estimation_1.m b/matlab/dynare_estimation_1.m
index 5868fffd123a93b985bf6c34a6b4c942c3af44b3..21b056d865ac57e2ca9e71dd9fac4b572db69cdc 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