Aucune licence
PURPOSE:
This MATLAB mex function fetches the name of the current user. The function is only for windows operating system. It was tested for MATLAB release 12.1 running under windows 12.1
COMPILE AND LINK AS A MATLAB MEX DLL:
type
mex getusername.c
on MATLAB command prompt to compile and link the program as a MATLAB mex dll.
CALLING SYNTAX
The resulting file getusername.dll may be called just like a MATLAB m-file function with syntax:
[username] = getusername
without any input arguments.
Citation pour cette source
Mohammad Ashfaq (2026). Getusername (https://fr.mathworks.com/matlabcentral/fileexchange/3690-getusername), MATLAB Central File Exchange. Extrait(e) le .
Compatibilité avec les versions de MATLAB
Plateformes compatibles
Windows macOS LinuxCatégories
Tags
Remerciements
A inspiré : getUserName
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 |
