diff --git a/matlab/reporting/@elements/numel.m b/matlab/reporting/@elements/numElements.m similarity index 92% rename from matlab/reporting/@elements/numel.m rename to matlab/reporting/@elements/numElements.m index e52bd80314e201ef1e64f5c6f5037284c7da7d51..c318420378ddc58f92f3bbd86cc5a35af8295d7e 100644 --- a/matlab/reporting/@elements/numel.m +++ b/matlab/reporting/@elements/numElements.m @@ -1,5 +1,5 @@ -function n = numel(o) -% function n = numel(o) +function n = numElements(o) +% function n = numElements(o) % Copyright (C) 2013 Dynare Team % diff --git a/matlab/reporting/@graph/createGraph.m b/matlab/reporting/@graph/createGraph.m index 0daf941b87d6a8b8bdb42e4f9245c8184d59eeb9..b985fe971ea7830324c6ecbc2d6f3a85d8a099ab 100644 --- a/matlab/reporting/@graph/createGraph.m +++ b/matlab/reporting/@graph/createGraph.m @@ -42,7 +42,7 @@ if o.grid set(gca, 'GridLineStyle', '--'); end -ne = o.seriesElements.numel(); +ne = o.seriesElements.numElements(); dd = dynDates(); for i=1:ne ddt = o.seriesElements(i).getLine(o.xrange); diff --git a/matlab/reporting/@pages/numel.m b/matlab/reporting/@pages/numPages.m similarity index 94% rename from matlab/reporting/@pages/numel.m rename to matlab/reporting/@pages/numPages.m index 49a9f234f60c4d4ae078b2d702682bff11782a70..303ac223ebf110c1ae4dec98302a7a00426b974b 100644 --- a/matlab/reporting/@pages/numel.m +++ b/matlab/reporting/@pages/numPages.m @@ -1,5 +1,5 @@ -function n = numel(o) -% function n = numel(o) +function n = numPages(o) +% function n = numPages(o) % Sections Class Constructor % % INPUTS diff --git a/matlab/reporting/@pages/write.m b/matlab/reporting/@pages/write.m index acf71930e613516b4ac1cb2b976dde917d85066e..c7b2c18730f616a119e60fc844bae5a023254d7b 100644 --- a/matlab/reporting/@pages/write.m +++ b/matlab/reporting/@pages/write.m @@ -31,7 +31,7 @@ function o = write(o, fid) assert(fid ~= -1); fprintf(fid, '\n%% Pages Object\n'); -nps = numel(o); +nps = numPages(o); for i=1:nps o.objArray(i).write(fid); end diff --git a/matlab/reporting/@section/numel.m b/matlab/reporting/@section/numElements.m similarity index 88% rename from matlab/reporting/@section/numel.m rename to matlab/reporting/@section/numElements.m index 0d4a5aeb623c4cac9cce81059a46fecf0b39790e..c1c54b952d773c55a31502a26aadef8b49ff97a7 100644 --- a/matlab/reporting/@section/numel.m +++ b/matlab/reporting/@section/numElements.m @@ -1,5 +1,5 @@ -function n = numel(o) -% function n = numel(o) +function n = numElements(o) +% function n = numElements(o) % Copyright (C) 2013 Dynare Team % @@ -18,5 +18,5 @@ function n = numel(o) % You should have received a copy of the GNU General Public License % along with Dynare. If not, see <http://www.gnu.org/licenses/>. -n = o.elements.numel(); +n = o.elements.numElements(); end \ No newline at end of file diff --git a/matlab/reporting/@section/write.m b/matlab/reporting/@section/write.m index cf1955375ec6277fd04c9d231b1ac066923a9937..c592b93cee56e9f4e4118771e765715e645672d6 100644 --- a/matlab/reporting/@section/write.m +++ b/matlab/reporting/@section/write.m @@ -37,7 +37,7 @@ for i=1:o.cols fprintf(fid, 'c'); end fprintf(fid, '}\n'); -ne = numel(o); +ne = numElements(o); nvspace = numVspace(o); nlcounter = 0; for i=1:ne diff --git a/matlab/reporting/@seriesElements/numel.m b/matlab/reporting/@seriesElements/numElements.m similarity index 92% rename from matlab/reporting/@seriesElements/numel.m rename to matlab/reporting/@seriesElements/numElements.m index e52bd80314e201ef1e64f5c6f5037284c7da7d51..c318420378ddc58f92f3bbd86cc5a35af8295d7e 100644 --- a/matlab/reporting/@seriesElements/numel.m +++ b/matlab/reporting/@seriesElements/numElements.m @@ -1,5 +1,5 @@ -function n = numel(o) -% function n = numel(o) +function n = numElements(o) +% function n = numElements(o) % Copyright (C) 2013 Dynare Team %