Clear Filters
Clear Filters

How do I find my username in order to install or activate my license?

2,407 views (last 30 days)
When I try to activate my license, it asks for my username. How do I find this?

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 14 May 2024 at 0:00
Edited: MathWorks Support Team on 14 May 2024 at 20:02
When installing or activating an Individual license, your username is required. 
Command Prompt/Terminal
The easiest way to get your username is from a command prompt or terminal:


To get your username via the command prompt:
  1. Locate the search field. On Windows, this is in the Start Menu or Taskbar 
  2. Enter "cmd" into the search field and press Enter
  3. At the command prompt, enter the following command:
set username
Your username is displayed as USERNAME=myusername


To get your username, open a Terminal window:
  1. Open Finder.
  2. Open the Applications folder.
  3. Open the Utilities folder.
  4. Start the Terminal application.
  5. In the Terminal window, enter the following command:
echo $USER


To get your username, open terminal and run the following command:
echo $USER

More Answers (0)


Find more on Install Products in Help Center and File Exchange


No tags entered yet.


Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!