getUserName
Version 1.0.0.0 (1,04 KB) von
Felipe G. Nievinski
Returns the user name or id, as informed by the operating system.
The code is trivial but worth having as a separate function.
Works under Windows and Linux, presumably also under modern Mac.
Zitieren als
Felipe G. Nievinski (2025). getUserName (https://www.mathworks.com/matlabcentral/fileexchange/32523-getusername), MATLAB Central File Exchange. Abgerufen.
Kompatibilität der MATLAB-Version
Erstellt mit
R2009b
Kompatibel mit allen Versionen
Plattform-Kompatibilität
Windows macOS LinuxKategorien
Mehr zu Search Path finden Sie in Help Center und MATLAB Answers
Tags
Quellenangaben
Inspiriert von: 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!Live Editor erkunden
Erstellen Sie Skripte mit Code, Ausgabe und formatiertem Text in einem einzigen ausführbaren Dokument.
Version | Veröffentlicht | Versionshinweise | |
---|---|---|---|
1.0.0.0 |