diff --git a/interfaces/matlab/toolbox/1D/npflame_init.m b/interfaces/matlab/toolbox/1D/npflame_init.m index 09fbed6fb..0d064afb4 100644 --- a/interfaces/matlab/toolbox/1D/npflame_init.m +++ b/interfaces/matlab/toolbox/1D/npflame_init.m @@ -1,6 +1,10 @@ function flame = npflame_init(gas, left, flow, right, fuel, oxidizer, nuox) % NPFLAME_INIT Create a non-premixed flame stack. % flame = npflame_init(gas, left, flow, right, fuel, oxidizer, nuox) +% +% This function is deprecated in favor of :mat:func:`CounterFlowDiffusionFlame` +% and will be removed after Cantera 2.4. +% % :param gas: % Object representing the gas, instance of class % :mat:func:`Solution`, and an ideal gas. This object will be used @@ -29,6 +33,8 @@ function flame = npflame_init(gas, left, flow, right, fuel, oxidizer, nuox) % inlet, flow, and right inlet. % +warning('This function is deprecated and will be removed after Cantera 2.4. Use CounterFlowDiffusionFlame instead'); + % Check input parameters if nargin ~= 7 error('npflame_init expects seven input arguments.');