NumCPUs
(read only)
This property returns the number of CPUs (Threads) 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 CPUs this PC has
myCPUs = DSSParallel.NumCPUs;