cantera/interfaces/matlab/toolbox/@Kinetics/private/kinetics_get.m
Ray Speth 901ec2f12c [Matlab] Construct objects directly from input file names
Bypass reading and manipulation of XML files within Matlab, so that XML, CTI,
and YAML input files can all be used.
2019-06-25 22:30:59 -04:00

20 lines
582 B
Matlab

function v = kinetics_get(n, job, a, b, c, d, e, f, g)
% KINETICS_GET - get kinetics attributes
%
if nargin == 2
v = ctmethods(40, n, job);
elseif nargin == 3
v = ctmethods(40, n, job, a);
elseif nargin == 4
v = ctmethods(40, n, job, a, b);
elseif nargin == 5
v = ctmethods(40, n, job, a, b, c);
elseif nargin == 6
v = ctmethods(40, n, job, a, b, c, d);
elseif nargin == 7
v = ctmethods(40, n, job, a, b, c, d, e);
elseif nargin == 8
v = ctmethods(40, n, job, a, b, c, d, e, f);
elseif nargin == 9
v = ctmethods(40, n, job, a, b, c, d, e, f, g);
end