(read/write)


This property returns abs value of complex number given in real and imag doubles.


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;

% Loads the complex math lib

DSSCmathLib = DSSObject.CmathLib;

% Calculates the magnitude for complex number 1 + 2i

myAbs = DSSCmathLib.cabs(1,2)