From b88e2cb00d7238a27f442cc9733014bed1bc2d90 Mon Sep 17 00:00:00 2001 From: Ray Speth Date: Mon, 27 Jun 2016 14:16:48 -0400 Subject: [PATCH] [Matlab] Deprecate constants.m --- interfaces/matlab/toolbox/constants.m | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/interfaces/matlab/toolbox/constants.m b/interfaces/matlab/toolbox/constants.m index 91b832fcb..1be503cd1 100644 --- a/interfaces/matlab/toolbox/constants.m +++ b/interfaces/matlab/toolbox/constants.m @@ -1,6 +1,9 @@ function [atm, r] = constants % CONSTANTS Get the values of important constants. % [atm,r] = constants +% Deprecated. To be removed after Cantera 2.3. Use :mat:func:`oneatm` and +% :mat:func:`gasconstant` instead. +% % :return: % If one output argument is given, returns one atmosphere in % Pascals. If two output arguments are given, returns one @@ -8,5 +11,6 @@ function [atm, r] = constants % J/kmol-K. % +warning('This function is deprecated and will be removed after Cantera 2.3.'); atm = 101325.0; r = 8314.4621;