NumCores
(read only)
This property returns the number of physical Cores at the local PC.
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;
% Handler for Parallel processing functions
DSSParallel = DSSCircuit.Parallel;
% Gets the number of physical cores this PC has
myCores = DSSParallel.NumCores;