From fac731928480071a3d41a512a7bc9cb1cf49bd5c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Villemot?= Date: Thu, 7 Feb 2013 15:28:43 +0100 Subject: [PATCH] @dynDate.display(): simplify the code by reusing format() --- matlab/@dynDate/display.m | 17 +---------------- 1 file changed, 1 insertion(+), 16 deletions(-) diff --git a/matlab/@dynDate/display.m b/matlab/@dynDate/display.m index 79d3289e0..740f66b22 100644 --- a/matlab/@dynDate/display.m +++ b/matlab/@dynDate/display.m @@ -17,20 +17,5 @@ function display(d) % You should have received a copy of the GNU General Public License % along with Dynare. If not, see . - fprintf('%s = \n') + fprintf('%s = \n', inputname(1), format(d)); end