Azzera filtri
Azzera filtri

Using calllib function to GetLicense. matlab crashes without error when license not found

1 visualizzazione (ultimi 30 giorni)
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

Risposte (0)

Categorie

Scopri di più su Manage Products in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by