Hi,
I am trying to automate the data capture from matlab. I am trying to load dll file but Matlab is throwing an error as shown below. The offending piece of matlab code is as follows. Please note I am using Windows 7 64 bit. My Matlab version is R2018b.
% HSDC Pro Software addpath(genpath('C:\Program Files (x86)\Texas Instruments\HSDC Pro Dual Capture Automation\Source Code\HSDC Pro Matlab Automation')); % Load the Automation DLL if ~libisloaded('HSDCProAutomation_64Bit') [notfound,warnings]=loadlibrary('C:\Program Files (x86)\Texas Instruments\HSDC Pro Dual Capture Automation\Source Code\HSDC Pro Matlab Automation\HSDCProAutomation_64Bit.dll', @HSDCProAutomationHeader); end
The error is as follows.
-------
Error using loadlibrary
There was an error loading the library "C:\Program Files (x86)\Texas Instruments\HSDC Pro Dual Capture Automation\Source Code\HSDC
Pro Matlab Automation\HSDCProAutomation_64Bit.dll"
Missing symbol 'OpenProcess' in 'C:\Program Files\MATLAB\R2018b/bin/win64\API-MS-Win-Core-Synch-L1-1-0.dll' required by
'C:\Windows\system32\KERNEL32.dll->C:\Windows\system32\VERSION.dll->C:\Program Files (x86)\Texas Instruments\HSDC Pro Dual Capture
Automation\Source Code\HSDC Pro Matlab Automation\HSDCProAutomation_64Bit.dll'
Missing symbol 'FileTimeToSystemTime' in 'C:\Program Files\MATLAB\R2018b/bin/win64\API-MS-Win-Core-File-L1-1-0.dll' required by
'C:\Windows\system32\KERNEL32.dll->C:\Windows\system32\VERSION.dll->C:\Program Files (x86)\Texas Instruments\HSDC Pro Dual Capture
Automation\Source Code\HSDC Pro Matlab Automation\HSDCProAutomation_64Bit.dll'
Missing symbol 'GetNamedPipeAttribute' in 'C:\Program Files\MATLAB\R2018b/bin/win64\API-MS-Win-Core-NamedPipe-L1-1-0.dll' required
by 'C:\Windows\system32\KERNEL32.dll->C:\Windows\system32\VERSION.dll->C:\Program Files (x86)\Texas Instruments\HSDC Pro Dual
Capture Automation\Source Code\HSDC Pro Matlab Automation\HSDCProAutomation_64Bit.dll'
Missing symbol 'SystemTimeToTzSpecificLocalTime' in 'C:\Program Files\MATLAB\R2018b/bin/win64\API-MS-Win-Core-SysInfo-L1-1-0.dll'
required by 'C:\Windows\system32\KERNEL32.dll->C:\Windows\system32\VERSION.dll->C:\Program Files (x86)\Texas Instruments\HSDC Pro
Dual Capture Automation\Source Code\HSDC Pro Matlab Automation\HSDCProAutomation_64Bit.dll'
Missing symbol 'TzSpecificLocalTimeToSystemTime' in 'C:\Program Files\MATLAB\R2018b/bin/win64\API-MS-Win-Core-SysInfo-L1-1-0.dll'
required by 'C:\Windows\system32\KERNEL32.dll->C:\Windows\system32\VERSION.dll->C:\Program Files (x86)\Texas Instruments\HSDC Pro
Dual Capture Automation\Source Code\HSDC Pro Matlab Automation\HSDCProAutomation_64Bit.dll'
Missing symbol 'GetDynamicTimeZoneInformation' in 'C:\Program Files\MATLAB\R2018b/bin/win64\API-MS-Win-Core-SysInfo-L1-1-0.dll'
required by 'C:\Windows\system32\KERNEL32.dll->C:\Windows\system32\VERSION.dll->C:\Program Files (x86)\Texas Instruments\HSDC Pro
Dual Capture Automation\Source Code\HSDC Pro Matlab Automation\HSDCProAutomation_64Bit.dll'
Missing symbol 'GetTimeZoneInformationForYear' in 'C:\Program Files\MATLAB\R2018b/bin/win64\API-MS-Win-Core-SysInfo-L1-1-0.dll'
required by 'C:\Windows\system32\KERNEL32.dll->C:\Windows\system32\VERSION.dll->C:\Program Files (x86)\Texas Instruments\HSDC Pro
Dual Capture Automation\Source Code\HSDC Pro Matlab Automation\HSDCProAutomation_64Bit.dll'
Missing symbol 'SystemTimeToFileTime' in 'C:\Program Files\MATLAB\R2018b/bin/win64\API-MS-Win-Core-SysInfo-L1-1-0.dll' required by
'C:\Windows\system32\KERNEL32.dll->C:\Windows\system32\VERSION.dll->C:\Program Files (x86)\Texas Instruments\HSDC Pro Dual Capture
Automation\Source Code\HSDC Pro Matlab Automation\HSDCProAutomation_64Bit.dll'
Missing symbol 'GetTimeZoneInformation' in 'C:\Program Files\MATLAB\R2018b/bin/win64\API-MS-Win-Core-SysInfo-L1-1-0.dll' required by
'C:\Windows\system32\KERNEL32.dll->C:\Windows\system32\VERSION.dll->C:\Program Files (x86)\Texas Instruments\HSDC Pro Dual Capture
Automation\Source Code\HSDC Pro Matlab Automation\HSDCProAutomation_64Bit.dll'
Missing symbol 'FileTimeToSystemTime' in 'C:\Program Files\MATLAB\R2018b/bin/win64\API-MS-Win-Core-File-L1-1-0.dll' required by
'C:\Windows\system32\msvcrt.dll->C:\Windows\system32\VERSION.dll->C:\Program Files (x86)\Texas Instruments\HSDC Pro Dual Capture
Automation\Source Code\HSDC Pro Matlab Automation\HSDCProAutomation_64Bit.dll'
Missing symbol 'GetTimeZoneInformation' in 'C:\Program Files\MATLAB\R2018b/bin/win64\API-MS-Win-Core-SysInfo-L1-1-0.dll' required by
'C:\Windows\system32\msvcrt.dll->C:\Windows\system32\VERSION.dll->C:\Program Files (x86)\Texas Instruments\HSDC Pro Dual Capture
Automation\Source Code\HSDC Pro Matlab Automation\HSDCProAutomation_64Bit.dll'
Missing symbol 'SystemTimeToFileTime' in 'C:\Program Files\MATLAB\R2018b/bin/win64\API-MS-Win-Core-SysInfo-L1-1-0.dll' required by
'C:\Windows\system32\msvcrt.dll->C:\Windows\system32\VERSION.dll->C:\Program Files (x86)\Texas Instruments\HSDC Pro Dual Capture
Automation\Source Code\HSDC Pro Matlab Automation\HSDCProAutomation_64Bit.dll'
Missing symbol 'FileTimeToSystemTime' in 'C:\Program Files\MATLAB\R2018b/bin/win64\API-MS-Win-Core-File-L1-1-0.dll' required by
'C:\Windows\system32\RPCRT4.dll->C:\Windows\system32\ADVAPI32.dll->C:\Program Files (x86)\Texas Instruments\HSDC Pro Dual Capture
Automation\Source Code\HSDC Pro Matlab Automation\HSDCProAutomation_64Bit.dll'