cantera/interfaces/matlab/toolbox/@XML_Node/build.m

11 lines
244 B
Mathematica

function x = build(x, file, pre)
if nargin < 2 || ~isa(file, 'char')
error('Syntax error. Type "help build" for more information.')
end
if nargin == 3 && pre > 0
ctmethods(10, 15, x.id, file)
else
ctmethods(10, 4, x.id, file)
end