cantera/interfaces/matlab/toolbox/@ThermoPhase/setState.m

12 lines
278 B
Mathematica

function setState(a, job, values)
disp('deprecated')
if nargin ~= 3 || ~isa(job, 'char')
error('Syntax error. Type "help setState" for more information.')
end
switch job
case 'T'
setTemperature(a, values)
otherwise
error(['unknown flag: ' job])
end