how to activate matlab running from a container
16 次查看(过去 30 天)
显示 更早的评论
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?
0 个评论
回答(1 个)
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.
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Containers 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!