function retCode = dcgetdiagnosticinfo(libName, filename) %DCGETDIAGNOSTICINFO Call the DinkeyChange API to write diagnostic %information to a file. % RETCODE = DCGETDIAGNOSTICINFO(LIBNAME,FILENAME) calls the API via the % external library LIBNAME, writing diagnostic information to the file % specified in FILENAME. FILENAME can be an absolute or relative path. If % FILENAME does not end in '.dlpf', it will be appended automatically. % RETCODE is the return code of the API call. % Copyright Microcosm Ltd. DO NOT MODIFY THIS FILE. retCode = calllib(libName, 'DCGetDiagnosticInfo', filename); end