change user name on shared laptop?

Hello,
on a shared laptop, the user name is something like abe1234567, which has become the user name when using matlab / simulink.
Is it possible to change this user name to my name or initials to show up in the projects, for instance "modified by: jtg" instead of "modified by. abe1234567"?
Regards,
John

6 件のコメント

Jan
Jan 2022 年 8 月 18 日
What about changing the account name?
John579
John579 2022 年 8 月 18 日
Hello Jan,
yes, I asked our IT, but since it is a shared laptop, company policy gives it a "generic" account name.
But do I understand correctly, that the user name in matlab is hardwired (or softwired) to the windows login name?
Regards,
John
Jan
Jan 2022 年 8 月 18 日
I do not know, where the mentioned "modified by. abe1234567" appears, so I cannot estimate, how it is implemented.
In other words: Where do you see this "user name"?
Walter Roberson
Walter Roberson 2022 年 8 月 18 日
Simulink models contain username information in their headers.
John579
John579 2022 年 8 月 19 日
Hello Jan,
this shows up in the model Explorer under the design data for a dictionary object:
The laptop is running matlab/simulink 2022a SP4 with designated computer licenses.
Regards,
John
John579
John579 2022 年 8 月 19 日
Hello Walter,
Not sure what you mean by model headers. Do you mean the external header code for the model?
Regards,
John

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

 採用された回答

Jan
Jan 2022 年 8 月 19 日

1 投票

Try to start Matlab with a batch script:
SET "USERNAME=Test_Name"
"C:\Program Files\MATLAB\R2022a\bin\matlab.exe"
What do you observe in Simulink?
There might be strange side-effects, e.g. if the license is bound to the user name.

1 件のコメント

John579
John579 2022 年 8 月 22 日
移動済み: Jan 2022 年 8 月 29 日
Hello Jan,
yes, that worked for the Model Explorer issue. Thank you much for that!
And also for the heads up about simulink. I'll accept the answer to
close this topic and keep an eye open for "side-effects". Should something
show up, I will start a new thread and refer to this one.
Kind regards,
John

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

その他の回答 (0 件)

カテゴリ

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

製品

リリース

R2022a

質問済み:

2022 年 8 月 17 日

移動済み:

Jan
2022 年 8 月 29 日

Community Treasure Hunt

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

Start Hunting!

Translated by