Updated Sat, 13 Aug 2011 17:03:06 +0000
The code is trivial but worth having as a separate function.
Works under Windows and Linux, presumably also under modern Mac.
Felipe G. Nievinski (2023). getUserName (https://www.mathworks.com/matlabcentral/fileexchange/32523-getusername), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform CompatibilityWindows macOS Linux
Inspired by: Getusername, Get computer name/hostname, whoami: a pedestrian user id retriever
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.