(read/write)


This property sets/gets a variant array of Doubles for the P multiplier in the LoadShape.


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

DSSLoadShapes = DSSCircuit.LoadShapes;

% Activates the first LoadShape of the list

i = DSSLoadShapes.First;

myMult = DSSLoadShapes.Pmult;

% reduces the LoadShape to 80%

feature('COM_SafeArraySingleDim',1);

DSSLoadShapes.Pmult = (myMult.*0.8)';