Azzera filtri
Azzera filtri

how to activate matlab running from a container

27 visualizzazioni (ultimi 30 giorni)
zhiqu zhong
zhiqu zhong il 5 Apr 2022
Modificato: Siraj il 31 Ott 2023
I have an education license and trying to run matlab from a container. The image I'm using is matlab:r2022a.
This is the instruction I follow: https://www.mathworks.com/support/search.html/answers/101892-what-is-a-host-id-how-do-i-find-my-host-id-in-order-to-activate-my-license unfortunately it doesn't explain how to activate my license from a container. When I run matlab -c license.lic within in a container, it says the license file doesn't match the host id of the running container. This is expected because I assume everytime I launch a container, the host id would be different. In this case, how am I supposed to activate the matlab then?

Risposte (1)

Siraj
Siraj il 31 Ott 2023
Modificato: Siraj il 31 Ott 2023
Hi!
In my understanding, you have an individual educational license for MATLAB, and you would like to run MATLAB from a Docker container.
You can follow the instructions mentioned in the following link.
To run the container your license must be configured for cloud use. Individual and Campus-Wide licenses are already configured for cloud use. If your license is correctly configured, then you will be prompted to sign in to your MathWorks Account and you must have an internet connection.
To license a MATLAB Docker image, you will require a running Network License Manager for MATLAB. You can find detailed instructions on how to administer network licenses by referring to the following link:
To learn how to set up the license for a MATLAB Docker image, you can refer to the following link:
If the above instructions are still unclear or unhelpful, I suggest reaching out to MathWorks support directly. You can find their contact information at the following link:
Hope this helps.

Categorie

Scopri di più su Containers in Help Center e File Exchange

Tag

Community Treasure Hunt

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

Start Hunting!

Translated by