MATLAB Answers

0

How to connect matlab mobile on andriod to computer MATLAB running on ubuntu 14.04?

Asked by jawad mansoor on 4 Feb 2016
Latest activity Answered by Walter Roberson
on 4 Feb 2016
HI, I have MATLAB Mobile on my phone but I cannot connect to MATLAB on my laptop that has UBUNTU 14.04 I am on the same network and here is the output from MATLAB
when I enter password in my phone and IP etc. It gives me a blank message and a button OK. After clicking on OK If I try to reconnect then it says the password does not match.

  0 Comments

Sign in to comment.

1 Answer

Answer by Walter Roberson
on 4 Feb 2016

If you are getting an IP address of 127.0.1.1 out then that indicates that your primary ethernet is set to IP address 127.0.1.1 and that you must be using a different IP address for your actual communication.
All IP addresses that start with 127 are reserved as being internal loop-back addresses that are never accessible outside the host. See RFC1700 paragraph g
It is possible that earlier you had to lock your hostid to an ethernet MAC address and you picked one that you do not actually use; see http://www.mathworks.com/matlabcentral/answers/102676-how-can-i-activate-matlab-on-a-linux-machine-that-does-not-have-an-eth0-device
However with the 127.0.1.1 I suspect that MATLAB might have gotten fooled and accidentally created the TCP socket against a loopback address :(
If you were not aware that you were using 127.0.1.1 for your IP address on an interface, you should probably change it to 127.0.0.1 . That might involve changing your hosts file or equivalent.

  0 Comments

Sign in to comment.