diff --git a/matlab/perfect-foresight-models/perfect_foresight_solver.m b/matlab/perfect-foresight-models/perfect_foresight_solver.m
index 2bb174f2d974f63b6cde87590b3ecc3b8423edf3..a37d7f1e0aae756f3dc783f93ef7f62456609994 100644
--- a/matlab/perfect-foresight-models/perfect_foresight_solver.m
+++ b/matlab/perfect-foresight-models/perfect_foresight_solver.m
@@ -12,7 +12,7 @@ function perfect_foresight_solver()
 % SPECIAL REQUIREMENTS
 %   none
 
-% Copyright (C) 1996-2020 Dynare Team
+% Copyright © 1996-2023 Dynare Team
 %
 % This file is part of Dynare.
 %
@@ -66,7 +66,7 @@ oo_ = perfect_foresight_solver_core(M_,options_,oo_);
 if ~oo_.deterministic_simulation.status && ~options_.no_homotopy
 
     if ~options_.noprint
-        fprintf('\nSimulation of the perfect foresight model failed!')
+        fprintf('\nSimulation of the perfect foresight model failed!\n')
         fprintf('Switching to a homotopy method...\n')
     end