change user name on shared laptop?

4 次查看(过去 30 天)
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 个评论
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
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 个)

类别

Help CenterFile Exchange 中查找有关 Startup and Shutdown 的更多信息

产品


版本

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by