2 % GETCOMPUTERNAME returns the name of the computer (hostname)
5 % WARN: output
string is converted to lower
case
8 % See also SYSTEM, GETENV, ISPC, ISUNIX
10 % m j m a r i n j (AT) y a h o o (DOT) e s
18 [ret, name] = system('hostname');
22 name = getenv('COMPUTERNAME');
24 name = getenv('HOSTNAME');
32 I=strfind(name,
char(10));
36 %if ( name(end) == 10 )