Problems connecting Interactive Brokers to Matlab

I've been trying to connect Matlab to interactive brokers using the ib = ibtws('',7496) command but i keep running into this error:
---------------------------------------------------
Error using feval Server Creation Failed: The application has failed to start because its side-by-side configuration is incorrect. Please see the application event log or use the command-line sxstrace.exe tool for more detail.
Error in actxserver (line 86) h=feval(['COM.' convertedProgID], 'server', machinename, interface);
Error in ibtws (line 38)_ _
---------------------------------------------------
I am running windows 7 x64, Matlab 2015a. I have uninstalled and re-installed both the Microsoft Visual C++ packages as well as the Microsoft .Net framework 4.5.2

回答 (2 件)

Yair Altman
Yair Altman 2015 年 11 月 7 日

0 投票

This problem is due to using the ActiveX connector to IB.
You might wish to try the cross-platform Java-based approach (not ActiveX) of the IB-Matlab product: http://undocumentedmatlab.com/ib-matlab

質問済み:

2015 年 6 月 8 日

回答済み:

2016 年 2 月 9 日

Community Treasure Hunt

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

Start Hunting!

Translated by