Matlab Engine EngGetVariable causes TCP/IP socket to disconnect?
Afficher commentaires plus anciens
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
le 12 Juil 2014
0 votes
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
En savoir plus sur Call MATLAB from C dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!