SaveSample
(method)
This method forces all meters and monitors to save their current buffers.
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;
% Solves the circuit in snap mode (meters and monitors don't sample automatically)
DSSText.Command = 'Solve mode=snap';
% Forces meters and monitor to take a sample
DSSCircuit.Sample();
% Forces meters and monitor to save their current buffers
DSSCircuit.SaveSample();