To find your User Name, follow the instructions below for your operating system.
Windows
The fastest way to get your User Name is from a Windows Command Prompt:
- Locate the search field. On Windows 7 this is in the Start Menu, on Windows 8/8.1 this is on the Start Screen, and on Windows 10 this is in the Taskbar
- Enter "cmd" into the search field and type enter
In the Command Prompt, enter the following command:
MacOS
To obtain your User Name, open a Terminal window:
- Open Finder
- Open the "Applications" folder
- Open the "Utilities" folder
- Start the "Terminal" application
In the Terminal window, enter the following command:
Linux
To obtain your User Name, open Terminal and run the following command:
whoami
The User Name can also be obtained by using the lmutil.exe utility included with the MATLAB installation. You can run the following commands to determine the User Name needed for activation:
Windows:
"C:\Program Files\MATLAB\R20XXx\etc\winXX\lmutil.exe" lmhostid -user
The User Name will be displayed as “USER=_<your_login_name>”
_
Mac:
/Applications/MATLAB_R20XXx.app/etc/maci64/lmutil lmhostid -user
The User Name will be displayed as “USER=_<your_login_name>”
_
Linux:
/usr/local/MATLAB/R2018b/etc/glnxa64/lmutil lmhostid -user
The User Name will be displayed as “USER=_<your_login_name>”
_
If access to the command window is not available, you can use the MATLAB activation client to determine what your Login Name is. To do this, you will need to first open the MATLAB activation client. The activation client can be found in the following locations:
Windows:
C:\Program Files\MATLAB\R20XXX\bin\win64\activate_matlab.exe.
Mac:
Use Finder to go to /Applications . From there, control-click (right click) on the icon for your MATLAB version, such as MATLAB_R2015b.app . In the menu, choose "Show package contents". In that directory, you will find an Activate.app.
Linux:
/usr/local/MATLAB/R2018a/bin/activate_matlab.sh
Once the activation client is open,
- Click on “_Activate Manually without the Internet” _and click next.
- Click on “_I do not have a license file. Help me with the next steps”_
- On this screen you will see your Login Name: “_Computer Login Name:<your_login_name>”_
1 件のコメント
このコメントへの直接リンク
https://jp.mathworks.com/matlabcentral/answers/96800-how-do-i-find-my-user-name-in-order-to-activate-my-license#comment_1158483
このコメントへの直接リンク
https://jp.mathworks.com/matlabcentral/answers/96800-how-do-i-find-my-user-name-in-order-to-activate-my-license#comment_1158483
サインインしてコメントする。