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

4 lines
91 B
Matlab

function t = temperature(tp)
% TEMPERATURE - temperature [K].
t = phase_get(tp.tp_id, 1);