2 persistent hostNameCached userNameCached
4 if isempty(hostNameCached)
7 hostName=hostNameCached;
9 if isempty(userNameCached)
10 userNameCached=
char(java.lang.System.getProperty('user.name'));
12 userName=userNameCached;
function getpidhost()
GETPIDHOST returns process id (PID) of current Matlab instance along with a host name it is running o...