From: Naimi Naimi on
is there any way that two matlab sessions can communicate with each other using tcp/ip ,either normally or in a client-server mode,if possible
how can client server mode communication be established
From: Walter Roberson on
Naimi Naimi wrote:
> is there any way that two matlab sessions can communicate with each
> other using tcp/ip ,either normally or in a client-server mode,if possible
> how can client server mode communication be established

An answer earlier this week from Steve Lord said approximately "only if
both sides bind their local port". He was responding to a UDP specific
question.
From: Dave Robinson on
Walter Roberson <roberson(a)hushmail.com> wrote in message <hookf3$fhc$2(a)canopus.cc.umanitoba.ca>...
> Naimi Naimi wrote:
> > is there any way that two matlab sessions can communicate with each
> > other using tcp/ip ,either normally or in a client-server mode,if possible
> > how can client server mode communication be established
>
> An answer earlier this week from Steve Lord said approximately "only if
> both sides bind their local port". He was responding to a UDP specific
> question.

From what I understand, Matlab allows you to easily construct a TCP/IP Client, but does not support constructing Matlab based Server structures. You might be better off communicating via UDP which doesn't differentiate between the Client and Server, but still uses the basic Socket mechanism.

Regards

Dave Robinson