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

3 visualizzazioni (ultimi 30 giorni)
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?

Risposte (2)

Atharva
Atharva il 4 Set 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 il 10 Giu 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 Commento
Jit
Jit il 10 Giu 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.

Accedi per commentare.

Categorie

Scopri di più su Install Products in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by