Files
PS_Dinkey/Dinkey Pro 7.6.1/$DOCUMENTS/Dinkey Pro 7.6.1 Examples/Samples/MATLAB/DinkeyChange/dcdownloadtempsoftwarekey.m
2026-05-06 07:47:36 +02:00

15 lines
706 B
Matlab

function [retCode, extErr] = dcdownloadtempsoftwarekey(libName, machineId)
%DCDOWNLOADTEMPSOFTWAREKEY Download and install a temporary software key.
% [RETCODE,EXTERR] = DCDOWNLOADTEMPSOFTWAREKEY(LIBNAME,MACHINEID) 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). 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, extErr] = calllib(libName, 'DCDownloadTempSoftwareKey', machineId, extErr);
end