16 lines
882 B
Matlab
16 lines
882 B
Matlab
function [retCode, extErr] = dcdownloaddemosoftwarekey(libName, machineId, productCode, model)
|
|
%DCDOWNLOADDEMOSOFTWAREKEY Download and install a demo software key.
|
|
% [RETCODE,EXTERR] = DCDOWNLOADDEMOSOFTWAREKEY(LIBNAME,MACHINEID,PRODUCTCODE,MODEL)
|
|
% calls the API via the external library LIBNAME. MACHINEID is the machine
|
|
% ID of this computer (you can obtain this by calling the API function
|
|
% DCGETMACHINEID). PRODUCTCODE and MODEL specify the product code and dongle
|
|
% model of the demo software key to be installed. RETCODE is the return code
|
|
% of the API call. If the update failed, EXTERR contains an additional error
|
|
% code that provides more information.
|
|
|
|
% Copyright Microcosm Ltd. DO NOT MODIFY THIS FILE.
|
|
|
|
extErr = int32(0);
|
|
[retCode, productCode, extErr] = calllib(libName, 'DCDownloadDemoSoftwareKey', machineId, productCode, model, extErr);
|
|
end
|