How to connect matlab mobile on andriod to computer MATLAB running on ubuntu 14.04?
1 回表示 (過去 30 日間)
古いコメントを表示
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 件のコメント
回答 (1 件)
Walter Roberson
2016 年 2 月 4 日
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
To find more realistic IP addresses for your system see http://stackoverflow.com/questions/13322485/how-to-i-get-the-primary-ip-address-of-the-local-machine-on-linux-and-os-x
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 件のコメント
コミュニティ
その他の回答 遠隔学習コミュニティ
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!