Borrar filtros
Borrar filtros

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

1 visualización (últimos 30 días)
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

Respuestas (0)

Categorías

Más información sobre Manage Products en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by