(read/write)


Get/Set the Active Storage element by index:  1.. Count.


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;

DSSES = DSSCircuit.Storages;

% Compile a model        

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

DSSSolution.Solve;


% gets the values within the energy meter register for the active storage

DSSES.Idx = 1;


myRegValues = DSSES.RegisterValues;