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
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 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!