File Exchange

image thumbnail

getUserName

version 1.0 (1.04 KB) by

Returns the user name or id, as informed by the operating system.

3 Downloads

Updated

View License

The code is trivial but worth having as a separate function.

Works under Windows and Linux, presumably also under modern Mac.

Comments and Ratings (3)

Jean Bilheux

Works on Mac. Simple as you said but very useful to get.

Jean Bilheux

Works under Linux and Windows 7. Thanks.

MATLAB Release
MATLAB 7.9 (R2009b)

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video