how to activate matlab running from a container

25 ビュー (過去 30 日間)
zhiqu zhong
zhiqu zhong 2022 年 4 月 5 日
編集済み: Siraj 2023 年 10 月 31 日
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?

回答 (1 件)

Siraj
Siraj 2023 年 10 月 31 日
編集済み: Siraj 2023 年 10 月 31 日
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.

カテゴリ

Help Center および File ExchangeContainers についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by