diff --git a/matlab/set_parameters_locally.m b/matlab/set_parameters_locally.m
index 492024daa8e503ecfd913624378656662e275013..008abc3a0498192daed277ba0d586a5daf6612b3 100644
--- a/matlab/set_parameters_locally.m
+++ b/matlab/set_parameters_locally.m
@@ -1,6 +1,6 @@
 function M_=set_parameters_locally(M_,xparam1)
 
-% function M_out=set_parameters(M_,xparam1)
+% function M_=set_parameters_locally(M_,xparam1)
 % Sets parameters value (except measurement errors)
 % This is called for computations such as IRF and forecast
 % when measurement errors aren't taken into account; in contrast to