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!