From 79ee6a5565c77e6522c004cc6b2b69aeba559a10 Mon Sep 17 00:00:00 2001 From: Johannes Pfeifer Date: Thu, 16 Sep 2021 10:40:00 +0200 Subject: [PATCH] dyn_waitbar_close.m: fix closing of waitbars under Octave --- matlab/dyn_waitbar_close.m | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/matlab/dyn_waitbar_close.m b/matlab/dyn_waitbar_close.m index fbc8ab03d..2dde2419c 100644 --- a/matlab/dyn_waitbar_close.m +++ b/matlab/dyn_waitbar_close.m @@ -4,7 +4,7 @@ function dyn_waitbar_close(h) % octave and when console_mode=1 % -% Copyright (C) 2011-2017 Dynare Team +% Copyright (C) 2011-2021 Dynare Team % % This file is part of Dynare. % @@ -22,7 +22,7 @@ function dyn_waitbar_close(h) % along with Dynare. If not, see . global options_ -if isoctave || options_.console_mode +if options_.console_mode clear dyn_waitbar; diary on fprintf('\n');