tags:

views:

43

answers:

3

i have two machines running MATLAB and i need to exchange information(numbers,images) between them,is there a way in MATLAB i can do it?

+1  A: 

If you have use Parallel Computing Toolbox and MATLAB Distributed Computing Server, you can use MPI-style programming to send data between the two MATLAB processes. You can use functions like labSend and labReceive to send and receive data.

Edric
A: 

There are several possibilities without any extra toolboxes, depending on your specific needs. Check the Matlab help about external interfaces for details. For high performance, mexing a custom C communication is probably your best option. Using shared files on a network storage would be an alternative that is easier to implement but less effective, especially if you need frequent communication.

groovingandi
A: 

for an example of socket programming in MATLAB using Java, see this related post

Amro