From ffeef2240a71cb4d71b8765d1030dcf78078dd6b Mon Sep 17 00:00:00 2001 From: Ray Speth Date: Mon, 27 Jun 2016 14:11:19 -0400 Subject: [PATCH] [Matlab] Deprecate Domain1D::z (duplicate of Domain1D::gridPoints) --- interfaces/matlab/toolbox/1D/@Domain1D/z.m | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/interfaces/matlab/toolbox/1D/@Domain1D/z.m b/interfaces/matlab/toolbox/1D/@Domain1D/z.m index 65ff6a58e..8aadda3f8 100644 --- a/interfaces/matlab/toolbox/1D/@Domain1D/z.m +++ b/interfaces/matlab/toolbox/1D/@Domain1D/z.m @@ -1,6 +1,9 @@ function zz = z(d, n) % Z Get the grid points. % zz = z(d, n) +% This function is deprecated in favor of the function :mat:func:`gridPoints`, +% and will be removed after Cantera 2.3. +% % :param d: % Instance of class :mat:func:`Domain1D` % :param n: @@ -10,6 +13,7 @@ function zz = z(d, n) % Vector of grid points. % +warning('This function is deprecated, and will be removed after Cantera 2.3. Use gridPoints instead.'); if nargin == 1 zz = zeros(1, nPoints(d)); for i = 1:nPoints(d)