getUserName
Version 1.0.0.0 (1,04 ko) par
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.
Citation pour cette source
Felipe G. Nievinski (2026). getUserName (https://fr.mathworks.com/matlabcentral/fileexchange/32523-getusername), MATLAB Central File Exchange. Extrait(e) le .
Compatibilité avec les versions de MATLAB
Créé avec
R2009b
Compatible avec toutes les versions
Plateformes compatibles
Windows macOS LinuxCatégories
En savoir plus sur Search Path dans Help Center et MATLAB Answers
Tags
Remerciements
Inspiré par : 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!Découvrir Live Editor
Créez des scripts avec du code, des résultats et du texte formaté dans un même document exécutable.
| Version | Publié le | Notes de version | |
|---|---|---|---|
| 1.0.0.0 |
