how can I get username of network user lic?
4 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
dayu lai
am 15 Dez. 2021
Beantwortet: Walter Roberson
am 15 Dez. 2021
I installed matlab on linux. And I have a network user lic. On lic server's mlm.opt file, I need to specify the username of client.
My question is how can I get the user name?
I know on windows, the user name can be get by type 'set' in cmd.
What can I do on linux?
0 Kommentare
Akzeptierte Antwort
Weitere Antworten (1)
Walter Roberson
am 15 Dez. 2021
On Mac and Linux:
getenv("USER")
!whoami
See also https://www.javelin-tech.com/blog/2019/04/solidworks-solidnetwork-license-manager-options-file-case-insensitive-setting/ for how to make the test case insensitive
0 Kommentare
Siehe auch
Kategorien
Mehr zu Install Products finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!