How can I tell the activation script where to write the licence file?

조회 수: 3 (최근 30일)
Christian Neissner
Christian Neissner 2022년 6월 15일
댓글: Jit 2025년 6월 10일
On a linux system, I'm trying to activate an installation with an active internet connection. After authentication and choosing my license the activation script tries to write the licence file in the matlab root folder where I don't have and never will have permissions to write. Sudo is not an option either.
How can I tell the script to write the file into my home folder?

답변 (2개)

Atharva
Atharva 2023년 9월 4일
Hey Christian,
To tell the MATLAB activation script to write the license file into your home folder instead of the MATLAB root folder, you can use the cd (change directory) command in the terminal to navigate to your home directory before running the activation script.
I hope this helps!

Jit
Jit 2025년 6월 10일
Having this same problem.
Running the activation script from the app directory states it has no write permissions to the (root-owned) folder.
Running from home directory results in an unhelpful "Unable to install license file. Please try again later"
  댓글 수: 1
Jit
Jit 2025년 6월 10일
I ended up having to activate the license manually using hostid on mathworks website, then copying this over to
~/.matlab/R20xx_licenses/
This really should be a simple thing for the activation script to do itself.
i.e. first try installing into <app-location>/licenses, if that fails then put into the right location in user home folder.

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Install Products에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by