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

24 ビュー (過去 30 日間)
Javaid Iqbal
Javaid Iqbal 2011 年 4 月 13 日
編集済み: Walter Roberson 2017 年 3 月 12 日
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

回答 (5 件)

Ankit Desai
Ankit Desai 2011 年 4 月 15 日
編集済み: John Kelly 2014 年 10 月 29 日
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 2011 年 4 月 13 日
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 件のコメント
Walter Roberson
Walter Roberson 2015 年 9 月 29 日
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.

サインインしてコメントする。


Javaid Iqbal
Javaid Iqbal 2011 年 4 月 13 日
Thanx Dear
I have learn it and trying do so.
for more help can i contact u ?
  3 件のコメント
Javaid Iqbal
Javaid Iqbal 2011 年 4 月 14 日
I am facing an error
That is Warning: A timeout occurred before the Terminator was reached.
ans =
''
Walter Roberson
Walter Roberson 2011 年 4 月 14 日
Set your terminator to byte rather than a particular character.

サインインしてコメントする。


achermen est
achermen est 2011 年 4 月 25 日
hi friends :)) , any one help me how to send a picture byyy socket(:'()) on a server and client matlabbb
  4 件のコメント
iup geii amiens
iup geii amiens 2014 年 6 月 11 日
Ps: for those who are looking for:how can we send :P
Walter Roberson
Walter Roberson 2017 年 3 月 12 日
Yogesh comments to iup geii amiens:
thanks alot for your support!!

サインインしてコメントする。


Meghashree G
Meghashree G 2015 年 9 月 29 日
編集済み: Walter Roberson 2015 年 9 月 29 日
Hi i want to send array from one matlab terminal to other! how do i do that?
Please help me
Refer the below link pls:
Thank you

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by