diff --git a/matlab/@dynTimeIndex/subsasgn.m b/matlab/@dynTimeIndex/subsasgn.m
index b03987c866a4cf7cbb56d9a3463aed084921e226..1014680622ce5bab3410c8b8ba0a31f032eb6fc5 100644
--- a/matlab/@dynTimeIndex/subsasgn.m
+++ b/matlab/@dynTimeIndex/subsasgn.m
@@ -17,4 +17,4 @@ function val = subsasgn(val, idx, rhs)
 % You should have received a copy of the GNU General Public License
 % along with Dynare.  If not, see <http://www.gnu.org/licenses/>.
 
-error('dynTimeIndex::subsasgn: Members of dynDate class are private!')
\ No newline at end of file
+error('dynTimeIndex::subsasgn: Members of dynTimeIndex class are private!')
\ No newline at end of file