Get information about the host on which the Matlab instance is running.
This package consists of the following commands:
Basic:
getpid: get the Matlab process ID
gethostname: get the hostname of the machine Matlab is running
getuname: returns the system name, node name, system release, system
version, and the machine's hardware platform
getnumprocessors: returns the number of available (local) processors,
i.e. the number of (virtual) CPUs
Additional:
matlabpoolPlus: wrapper around matlabpool that allows to base the number
of created workers on the available number of processors
Please note that this package is not intended to run under Windows. I use
it for automated status reports of long running jobs that I distribute on a
cluster of Linux machines. It should run under any BSD/Unix-style OS.
Boris Schauerte (2021). BSD/Linux Host Information and matlabpoolPlus (https://www.mathworks.com/matlabcentral/fileexchange/39563-bsd-linux-host-information-and-matlabpoolplus), MATLAB Central File Exchange. Retrieved .
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Create scripts with code, output, and formatted text in a single executable document.