cantera/interfaces/matlab/toolbox/1D/@Stack/private/stack_methods.m
Ray Speth 2528df0f75 Reorganized source tree structure
These changes make it unnecessary to copy header files around during
the build process, which tends to confuse IDEs and debuggers. The
headers which comprise Cantera's external C++ interface are now in
the 'include' directory.

All of the samples and demos are now in the 'samples' subdirectory.
2012-02-12 02:27:14 +00:00

25 lines
No EOL
837 B
Matlab

function v = stack_methods(n, job, a, b, c, d, e, f)
% STACK_METHODS - converter function for methods of class Stack
%
% All Cantera functions and methods are handled by the single MEX
% file 'ctmethods.' This function is provided only for convenience,
% and simply calls ctmethods with a flag associated with this class
% as the first parameter, followed by the input arguments.
if nargin == 2
v = ctmethods(90, n, job);
elseif nargin == 3
v = ctmethods(90, n, job, a);
elseif nargin == 4
v = ctmethods(90, n, job, a, b);
elseif nargin == 5
v = ctmethods(90, n, job, a, b, c);
elseif nargin == 6
v = ctmethods(90, n, job, a, b, c, d);
elseif nargin == 7
v = ctmethods(90, n, job, a, b, c, d, e);
elseif nargin == 8
v = ctmethods(90, n, job, a, b, c, d, e, f);
else
error('too many arguments');
end