필터 지우기
필터 지우기

Inter-process communication with MATLAB

조회 수: 6 (최근 30일)
Matthew
Matthew 2012년 7월 13일
Hi,
I'm looking for a way to pass data back and forth between a MATLAB program and Java program which are running simultaneously on the same server. The data that I shall be passing is both matrices and figures. The method I'm currently using is to poll files, but this is really quite inelegant and slow.
The server is running Linux, so I guess POSIX shared memory would be a possible solution (how do you implement this in MATLAB)? I would prefer something along the lines of named pipes or ports though.
I've read some stuff along the lines of how this kind of thing can be implemented using MEX files. I've never used these, but would be interested to learn if it is indeed the best way to do it. Please could someone point me in a good direction?
With many thanks,
Matthew.
  댓글 수: 2
Walter Roberson
Walter Roberson 2012년 7월 13일
Consider using tcp, either from the Instrument Control Toolbox or from the FEX submission "tcpudpip"

댓글을 달려면 로그인하십시오.

답변 (1개)

Jan
Jan 2012년 7월 16일
Ask the FileExchange for FEX: "java tcp"?

카테고리

Help CenterFile Exchange에서 Interface-Based Instrument Communication에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by