(read only)


This property returns a variant array of strings listing all the published variable names, if a PCElement. Otherwise, null string.


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;

% Compile a model        

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

DSSActiveElement = DSSCircuit.ActiveCktElement;

% Sets load 'Load1' as the active element

DSSCircuit.SetActiveElement('Load.Load1')

myVars = DSSActiveElement.AllVariableNames;