Getusername

Fetches the current user name.

Al momento, stai seguendo questo contributo

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.

Cita come

Mohammad Ashfaq (2026). Getusername (https://it.mathworks.com/matlabcentral/fileexchange/3690-getusername), MATLAB Central File Exchange. Recuperato .

Riconoscimenti

Ispirato: getUserName

Categorie

Scopri di più su Develop Apps Using App Designer in Help Center e MATLAB Answers

Informazioni generali

Compatibilità della release di MATLAB

  • Compatibile con qualsiasi release

Compatibilità della piattaforma

  • Windows
  • macOS
  • Linux
Versione Pubblicato Note della release Action
1.0.0.0