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!