activation error - login name has space

error 2115: login names must not have spaces.
when I try to change it, a warning message states only to change the name if the software will be run under a different login name. However, my computer login name does have a space. How do i get aroud this?

1 件のコメント

Walter Roberson
Walter Roberson 2024 年 1 月 6 日
You cannot get around this. It is a MATLAB limitation, that the login name must not have a space.
Note that the login name in question is the internal Windows login name:
To get your Windows username:
For MS Windows, you can create a windows shell (Windows -> R) and give the command whoami or you can open TaskManager and go to the Users panel to display your username.

サインインしてコメントする。

回答 (1 件)

Swaraj
Swaraj 2024 年 1 月 14 日

0 投票

Hi Lauren,
The error suggests that your Internal Windows login name contains a space. Please find the below steps to check your username:
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:
set username
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:
whoami
Linux
To obtain your User Name, open Terminal and run the following command:
whoami
The User Name will be displayed as "USER=<your_login_name>"
For more details, please follow the below MATLAB Answer.

カテゴリ

ヘルプ センター および File ExchangeStartup and Shutdown についてさらに検索

製品

リリース

R2023a

質問済み:

2024 年 1 月 6 日

回答済み:

2024 年 1 月 14 日

Community Treasure Hunt

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

Start Hunting!

Translated by