diff --git a/Sound Fields/MATLAB/Functions/rectRoomPtSrc.m b/Sound Fields/MATLAB/Functions/rectRoomPtSrc.m
index 4ec059144ef243e9a818c6a8ebeee4129ea4b50c..bbdd3e0d25f7ab7523181a39a36fc25c1a702f21 100644
--- a/Sound Fields/MATLAB/Functions/rectRoomPtSrc.m	
+++ b/Sound Fields/MATLAB/Functions/rectRoomPtSrc.m	
@@ -18,14 +18,14 @@
 %                 is the number of sources and the rows represent the x, y
 %                 and z coordinates respectively.
 %                 IMPORTANT: The coordinates of the sources must NOT lie
-%                            outside the room (set by "roomSize" argument).
+%                            outside the room (set by "roomDims" argument).
 % 
 % rPos [numeric]: The position of the receivers in Cartesian coordinates.
 %                 The variable should be a matrix with dimensions 3xM where
 %                 M is the number of receivers and the rows represent the
 %                 x, y and z coordinates respectively.
 %                 IMPORTANT: The coordinates of the receivers must NOT lie
-%                            outside the room (set by "roomSize" argument).
+%                            outside the room (set by "roomDims" argument).
 % 
 % roomDims [numeric]: The dimensions of the room. This can either be a
 %                     scalar, in which case the room will correspond to a