Matlab Engine EngGetVariable causes TCP/IP socket to disconnect?

8 visualizaciones (últimos 30 días)
Andrew Greene
Andrew Greene el 3 de Abr. de 2013
Respondida: Yair Altman el 12 de Jul. de 2014
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!

Respuestas (1)

Yair Altman
Yair Altman el 12 de Jul. de 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):

Categorías

Más información sobre Call MATLAB from C en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by