No License
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.
Cite As
Mohammad Ashfaq (2024). Getusername (https://www.mathworks.com/matlabcentral/fileexchange/3690-getusername), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
Tags
Acknowledgements
Inspired: getUserName
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.
Version | Published | Release Notes | |
---|---|---|---|
1.0.0.0 |