GetLicenseKey()

Using the C library LexActivator.h from MATLAB what input arguments are needed to obtain the license key?

Currently using:
sSharedLibrary = ‘LexActivator’;
loadlibrary(sSharedLibrary,@LexActivatorPrototype)
[valid] = calllib(sSharedLibrary,‘IsLicenseGenuine’)
[output] = calllib(sSharedLibrary,‘GetLicenseKey’)

and receiving the error:
No method with matching signature for the ‘GetLicenseKey’ input. The ‘IsLicenseGenuine’ is functioning correctly and returning 0.

Hi Joshua,

Please refer to the following, your case is similar:

Great, that worked. Thanks!

calllib(sSharedLibrary,‘GetLicenseKey’,blanks(256),256)