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
2010-07-02 10:11:02
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
2010-07-02 10:30:06
A:
for an example of socket programming in MATLAB using Java, see this related post
Amro
2010-07-02 11:46:40