Matlab Engine EngGetVariable causes TCP/IP socket to disconnect?

Hi,
I am writing a program that connects to a server (Interactive Brokers) however, after I successfully connect it seems that when I try to get variables (with EngGetVariable) from the Matlab workspace it causes the socket connection to drop out. Is there some undocumented aspect of EngGetVariable that causes linux sockets to disconnect (ie I know that linux pipes through the info from Matlab so my hypothesis is that the new 'socket' connection to Matlab causes the previous one to IB to drop out). Also, any workarounds would be appreciated, thx!

Réponses (1)

Yair Altman
Yair Altman le 12 Juil 2014
You may wish to try the cross-platform IB-Matlab product, which is Java-based and works quite well on Linux (as well as Windows & Macs):

Catégories

Community Treasure Hunt

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

Start Hunting!

Translated by