ClearAll
(method)
This method clears all circuit definitions (the same as the clear command, it only affects the active circuit).
Example
% Create DSS object
DSSObject = actxserver('OpenDSSEngine.DSS')
if ~DSSObject.Start(0),
disp('Unable to start openDSS');
return
end;
DSSText = DSSObject.Text;
DSSCircuit = DSSObject.ActiveCircuit;
% Clears the active circuit
DSSObject.ClearAll();