Using calllib function to GetLicense. matlab crashes without error when license not found
조회 수: 1 (최근 30일)
이전 댓글 표시
Hi all
I have compiled an executable on Matlab R2014a which needs to verify the license on a dongle key before it can be launched. Below is the part of the code that I have used to get the license
i = int32(1); pointer = lib.pointer('stringPtrPtr', {'-version'}); calllib('IPGwin64','GetLicense', i, pointer);
The code works fine. However if the dongle is not inserted in the computer, matlab crashes without giving any error. what I would like to do is to have pop up window showing the reason for crash.
I would really appreciate if someone could help me sort this out.
Thank you
댓글 수: 0
답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Manage Products에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!