diff --git a/matlab/dynare_estimation_init.m b/matlab/dynare_estimation_init.m
index 8b174f66c039310d58518855db4dbae19762e33d..3cbbf6d6090b25820d3a4ad5c3160f44271aafe9 100644
--- a/matlab/dynare_estimation_init.m
+++ b/matlab/dynare_estimation_init.m
@@ -561,7 +561,7 @@ end
 [oo_.steady_state, params,info] = evaluate_steady_state(oo_.steady_state,M,options_,oo_,steadystate_check_flag);
 
 if info(1)
-    fprintf('\ndynare_estimation_init:: The steady state at the initial parameters cannot be computed.')
+    fprintf('\ndynare_estimation_init:: The steady state at the initial parameters cannot be computed.\n')
     print_info(info, 0, options_);
 end
 
diff --git a/matlab/evaluate_steady_state.m b/matlab/evaluate_steady_state.m
index afd8bb4c598e79040e1986a56c2f1993aad1c32c..d51c08bc8efd463ad0bc49e53a16aadff824f693 100644
--- a/matlab/evaluate_steady_state.m
+++ b/matlab/evaluate_steady_state.m
@@ -258,7 +258,7 @@ elseif (options.bytecode == 0 && options.block == 0)
             disp(['STEADY:  numerical initial values or parameters incompatible with the following' ...
                   ' equations'])
             disp(ii')
-            disp('Check whether your model is truly linear. Put "resid(1);" before "steady;" to see the problematic equations.\n')
+            disp('Check whether your model is truly linear. Put "resid(1);" before "steady;" to see the problematic equations.')
         elseif isempty(ii) && max(abs(fvec)) > 1e-12
             ys = ys_init-jacob\fvec;
             resid = evaluate_static_model(ys,exo_ss,params,M,options);