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

8 Ansichten (letzte 30 Tage)
Christian Neissner
Christian Neissner am 15 Jun. 2022
Kommentiert: Jit am 10 Jun. 2025
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?

Antworten (2)

Atharva
Atharva am 4 Sep. 2023
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 am 10 Jun. 2025
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 Kommentar
Jit
Jit am 10 Jun. 2025
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.

Melden Sie sich an, um zu kommentieren.

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!

Translated by