tcp/ip Matlab server and non Matlab client

3 views (last 30 days)
I am trying to send data using tcp sockets from a non Matlab client (Java) to a Matlab Server.
From Matlab to Matlab all works fine.. data transfer is fast and correct. when I open a Matlab server and try to write to it from a Java/c++ client, I get stuck. I know the connection actually happened, because when I stop the client, the server stops as well, with a "Error using deserialize Bad version or endian-key "
I am trying this on localhost.
  1 Comment
Walter Roberson
Walter Roberson on 8 Jun 2015
I would not expect deserialization errors unless you were using load(), or unless you were using some kind of wrapper around the data received that is reporting that message.

Sign in to comment.

Answers (0)

Community Treasure Hunt

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

Start Hunting!