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!

답변 (1개)

Yair Altman
Yair Altman 2014년 7월 12일

0 개 추천

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):

카테고리

도움말 센터File Exchange에서 Call MATLAB from C에 대해 자세히 알아보기

질문:

2013년 4월 3일

답변:

2014년 7월 12일

Community Treasure Hunt

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

Start Hunting!

Translated by