This function was actually being directed into 'thermoget' and calling the 'newFromXML' method (on a non-existent XML tree) instead of calling the 'del' method.
10 lines
216 B
Matlab
10 lines
216 B
Matlab
function clear(tp)
|
|
% CLEAR Delete the kernel object.
|
|
% clear(tp)
|
|
% :param tp:
|
|
% Instance of class :mat:func:`ThermoPhase` (or another
|
|
% object that derives from ThermoPhase)
|
|
%
|
|
|
|
thermo_set(tp.tp_id, 10, 0);
|
|
|