MATLAB Answers

send data from one computer to an other computer using matlab via internet.

76 views (last 30 days)
Javaid Iqbal
Javaid Iqbal on 13 Apr 2011
Edited: Walter Roberson on 12 Mar 2017
i want to send data from matlab to other computer that will receive data using matlab
how can i do this
If any one has idea plz comment

Answers (5)

Ankit Desai
Ankit Desai on 15 Apr 2011
Edited: John Kelly on 29 Oct 2014
If you are using MATLAB R2011a, you can use Instrument Control Toolbox's TCPIP object as a Server Socket via the NetworkRole property. This support is for a single remote connection. You can use this connection to communicate between a client and MATLAB, or between two instances of MATLAB.
-Ankit

Walter Roberson
Walter Roberson on 13 Apr 2011
If you use the Instrument Control Toolbox, you can do this using udp. The Instrument Control Toolbox is, however, not able to send this data using tcp for this situation, as that toolbox does not allow MATLAB to be the "server" that connections are initiated to.
There is a MATLAB File Exchange contribution "tcpudpip" which is able to transfer data through udp or tcp; that contribution is able to have MATLAB act as a server.
  1 Comment
Walter Roberson
Walter Roberson on 29 Sep 2015
Note: in the time since I wrote the above, Instrument Control Toolbox added a "server" role so it can now be done with tcp as well.

Sign in to comment.


Javaid Iqbal
Javaid Iqbal on 13 Apr 2011
Thanx Dear
I have learn it and trying do so.
for more help can i contact u ?
  3 Comments

Sign in to comment.


achermen est
achermen est on 25 Apr 2011
hi friends :)) , any one help me how to send a picture byyy socket(:'()) on a server and client matlabbb
  4 Comments

Sign in to comment.


Tags

Community Treasure Hunt

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

Start Hunting!

Translated by