diff --git a/matlab/reports/@elements/numElements.m b/matlab/reports/@elements/numElements.m
index c31842037..73355b0d3 100644
--- a/matlab/reports/@elements/numElements.m
+++ b/matlab/reports/@elements/numElements.m
@@ -18,5 +18,5 @@ function n = numElements(o)
% You should have received a copy of the GNU General Public License
% along with Dynare. If not, see .
-n = o.objArray.numObjs();
+n = o.objArray.numObjArray();
end
\ No newline at end of file
diff --git a/matlab/reports/@objArray/numObjs.m b/matlab/reports/@objArray/numObjArray.m
similarity index 89%
rename from matlab/reports/@objArray/numObjs.m
rename to matlab/reports/@objArray/numObjArray.m
index 513f15b47..2c5cd029a 100644
--- a/matlab/reports/@objArray/numObjs.m
+++ b/matlab/reports/@objArray/numObjArray.m
@@ -1,5 +1,5 @@
-function no = numObjs(oa)
-%function no = numObjs(oa)
+function n = numObjArray(o)
+%function n = numObjArray(o)
% Copyright (C) 2013 Dynare Team
%
@@ -18,5 +18,5 @@ function no = numObjs(oa)
% You should have received a copy of the GNU General Public License
% along with Dynare. If not, see .
-no = size(oa.objs, 2);
+n = size(o.objs, 2);
end
\ No newline at end of file
diff --git a/matlab/reports/@pages/numPages.m b/matlab/reports/@pages/numPages.m
index 303ac223e..289196a0e 100644
--- a/matlab/reports/@pages/numPages.m
+++ b/matlab/reports/@pages/numPages.m
@@ -1,6 +1,5 @@
function n = numPages(o)
% function n = numPages(o)
-% Sections Class Constructor
%
% INPUTS
% o [page] pages object
@@ -28,5 +27,5 @@ function n = numPages(o)
% You should have received a copy of the GNU General Public License
% along with Dynare. If not, see .
-n = o.objArray.numObjs();
+n = o.objArray.numObjArray();
end
\ No newline at end of file
diff --git a/matlab/reports/@sections/numSections.m b/matlab/reports/@sections/numSections.m
index 006f4f2bf..2eb270077 100644
--- a/matlab/reports/@sections/numSections.m
+++ b/matlab/reports/@sections/numSections.m
@@ -1,5 +1,5 @@
-function ns = numSections(ss)
-% function ns = numSections(ss)
+function n = numSections(o)
+% function n = numSections(o)
% Copyright (C) 2013 Dynare Team
%
@@ -18,5 +18,5 @@ function ns = numSections(ss)
% You should have received a copy of the GNU General Public License
% along with Dynare. If not, see .
-ns = ss.objArray.numObjs();
+n = o.objArray.numObjArray();
end
\ No newline at end of file
diff --git a/matlab/reports/@seriesElements/numElements.m b/matlab/reports/@seriesElements/numElements.m
index c31842037..73355b0d3 100644
--- a/matlab/reports/@seriesElements/numElements.m
+++ b/matlab/reports/@seriesElements/numElements.m
@@ -18,5 +18,5 @@ function n = numElements(o)
% You should have received a copy of the GNU General Public License
% along with Dynare. If not, see .
-n = o.objArray.numObjs();
+n = o.objArray.numObjArray();
end
\ No newline at end of file