(read only)


This property returns a variant array of doubles. Values of state variables of active element if PC element.


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')

myVarsVals = DSSActiveElement.AllVariableValues;