Code covered by the BSD License  

Highlights from
BSD/Linux Host Information and matlabpoolPlus

BSD/Linux Host Information and matlabpoolPlus

by

 

21 Dec 2012 (Updated )

Get information about the host on which the Matlab instance is running. Also provides matlabpoolPlus

getNumProcessorsJava()
function ncpu = getNumProcessorsJava()
  % Get the number of processors (this includes virtual cores from
  % hyper-threading).
  %
  % @author B. Schauerte
  % @date 2013
  
  r = getJavaRuntimeInformation();
  ncpu = r.availableProcessors;

Contact us