Matlab crashes when connecting to TWS - Interactive Brokers

1 view (last 30 days)
When I execute:
>> ib = ibtws('',7496);
While TWS is open.
The pop-up in the TWS asking to accept the API connection will appear, and after I hit 'yes' matlab crashes, every time.
OS: Windows 7 64-bit
Matlab: 2013b 32-bit version
I've done the clean uninstall and re-install of matlab, TWS and TWS-API. And still it won't work. This setup worked just fine on another pc (also windows 7 64-bit and matlab 2013b 32-bit).
If anyone encountered this situation please help. Thanks.

Answers (2)

Philip Dunay
Philip Dunay on 3 Jul 2014
I have the same error

Yair Altman
Yair Altman on 12 Jul 2014
You may wish to try the cross-platform IB-Matlab product, which is Java-based (not ActiveX):
It never crashes...

Products

Community Treasure Hunt

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

Start Hunting!