This property sets/gets the name of active Recloser by name.


% Create DSS object

DSSObject = actxserver('OpenDSSEngine.DSS')

if ~DSSObject.Start(0),

                    disp('Unable to start openDSS');



DSSText = DSSObject.Text;

DSSCircuit = DSSObject.ActiveCircuit;

% Compile a model        

DSSText.Command = 'Compile C:\myPath\myModel.dss';

DSSReclosers = DSSCircuit.Reclosers;

% Activates the first recloser on the list

i = DSSReclosers.First;

% gets the name of the element monitored by the active recloser

myMonObj = DSSReclosers.MonitoredObj;

% gets the monitored terminal, if 2 force it to 1

if DSSReclosers.MonitoredTerm == 2,

                    DSSReclosers.MonitoredTerm = 1;


% gets the name of the active recloser

myName = DSSReclosers.Name;