Why do I get an 'incorrect format' error when trying to connect to Thomson Reuters Eikon (Matlab 2015a)?

1 view (last 30 days)
I am running Matlab 2015a on Windows 8.1 PRO machine. When I try to connect to TR Eikon I get the following error:
>> c = treikon
Error using treikon (line 86)
Message: Could not load file or assembly 'file:///C:\Program Files
(x86)\Thomson Reuters\Eikon\X\Bin\Interop.EikonDesktopDataAPI.dll' or one of
its dependencies. An attempt was made to load a program with an incorrect
format.
Source: mscorlib
HelpLink:
I get the same error when I try to specify the source and the filepath, i.e.:
>> c = treikon('IDN',...
'C:\Program Files (x86)\Thomson Reuters\Eikon\X\Bin')
Error using treikon (line 86)
Message: Could not load file or assembly 'file:///C:\Program Files
(x86)\Thomson Reuters\Eikon\X\Bin\Interop.EikonDesktopDataAPI.dll' or one of
its dependencies. An attempt was made to load a program with an incorrect
format.
Source: mscorlib
HelpLink:
Any help will be greatly appreciated!
Pavel
  2 Comments
Richard Taylor
Richard Taylor on 5 Nov 2015
I am also getting this error. My admin has tried to register the dll file listed above and could not. Can someone please offer some feedback.
Thanks

Sign in to comment.

Answers (2)

Guillaume Nolin
Guillaume Nolin on 10 Nov 2015
This appears to be a conflict between a 32-bit .dll library (Eikon's Interop.EikonDesktopDataAPI.dll) and the 64-bit version of Matlab. I haven't been able to get around this issue and I'm not sure there's a solution short of using 32-bit Matlab.
Thomson Reuters appears reluctant or unwilling to provide a full 64-bit version of Eikon. For example, to use the Excel Eikon plug-in you need to run a 32-bit version of Excel.

Jacob Amos
Jacob Amos on 24 Feb 2016
I just tried this after going through the process of downloading 32-bit MATLAB, and it still isn't working. Rather displeased indeed...

Tags

Community Treasure Hunt

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

Start Hunting!