How to return/release license from Matlab programatically
조회 수: 7 (최근 30일)
이전 댓글 표시
I have a server license for PCI Geomatica Application, which includes python libraries. I need to run a python script from matlab which uses some libraries/modules from this PCI application. Apparently, calling these python libraries/modules from matlab is the same as opening the actual application and the license gets checked out by matlab and the only way to return the server license so someone else can use the same libraries or application is to completely close and exit matlab.
Is there some command or something i can add to my code that will release this license so that the person running my python-calling matlab function wont have to exit their entire matlab to release the license? I cant find anything online and rehash/clear dont work.
Any help would be greatly appreciated
댓글 수: 0
답변 (1개)
Ganesh Gudipati
2022년 3월 4일
Hi right now there is no such function in MATLAB that would release the license automatically.
As a possible workaround, I would suggest creating the application as a standalone executable file, so that others can run your application independent of MATLAB.
You can refer to Creating Stand alone application MathWorks Documentation page to learn more on creating stand-alone application from MATLAB.
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Introduction to Installation and Licensing에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!