From e9dca040a6a661a8150f2692ccbb53b5167b5be9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Adjemian=20=28Charybdis=29?= Date: Fri, 5 Jul 2013 12:39:21 +0200 Subject: [PATCH] Added missing routine in commit c19905725fd91e91a7fb42437ff8155921a5b8bd. --- matlab/@dynSeries/private/default_name.m | 27 ++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 matlab/@dynSeries/private/default_name.m diff --git a/matlab/@dynSeries/private/default_name.m b/matlab/@dynSeries/private/default_name.m new file mode 100644 index 000000000..c5093ccf4 --- /dev/null +++ b/matlab/@dynSeries/private/default_name.m @@ -0,0 +1,27 @@ +function names = default_name(dim) + +% Copyright (C) 2011-2013 Dynare Team +% +% This file is part of Dynare. +% +% Dynare is free software: you can redistribute it and/or modify +% it under the terms of the GNU General Public License as published by +% the Free Software Foundation, either version 3 of the License, or +% (at your option) any later version. +% +% Dynare is distributed in the hope that it will be useful, +% but WITHOUT ANY WARRANTY; without even the implied warranty of +% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +% GNU General Public License for more details. +% +% You should have received a copy of the GNU General Public License +% along with Dynare. If not, see . + + +names = {}; +for i=1:dim + names = vertcat(names, {['Variable_' int2str(i)]}); +end + + +