Problem loading Thor TSPO1 sensor dll

11 views (last 30 days)
Hi,
I want to operate TSP01 temperature and humidity sensor with Matlab, but can't seem to load the .dll provided via the software
The dll is in the folder and the address is correct.
I am running Matlab version 2018a. And wonder if there is some sort of version control issue.
This is the error I get
>> NET.addAssembly('C:\Program Files (x86)\Microsoft.NET\Primary Interop Assemblies\Thorlabs.TLTSP01B_32.Interop.dll');
Message: Could not load file or assembly 'file:///C:\Program Files (x86)\Microsoft.NET\Primary Interop Assemblies\Thorlabs.TLTSP01B_32.Interop.dll'
or one of its dependencies. An attempt was made to load a program with an incorrect format.
Source: mscorlib
HelpLink:

Answers (0)

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!