GETUSERNAME Get user name. USERNAME = GETUSERNAME returns the login name of the current MATLAB user. Function should work for both Linux and Windows. Markus Buehren Last modified 13.11.2007 See also GETHOSTNAME.