Remote connect with MATLAB Mobile

조회 수: 6 (최근 30일)
Peter
Peter 2012년 11월 14일
댓글: Walter Roberson 2017년 12월 1일
Is it possible to remotely connect to my PC with MATLAB Mobile? My understanding is that the connection between the PC and MATLAB Mobile must be on the same network - could this be achieved over different networks through a VPN connection?
Any suggestions? Connecting to the cloud doesn't seem all that beneficial if files can't be accessed.

답변 (1개)

Pradeep
Pradeep 2012년 11월 16일
Yes, with a valid VPN connection you can connect to your computer from MATLAB Mobile, even if they are on different networks.
  댓글 수: 2
Santiago Echevarria
Santiago Echevarria 2017년 11월 30일
How can I achieve this?
Walter Roberson
Walter Roberson 2017년 12월 1일
MATLAB and MATLAB Mobile do not care how you configure the network. You just have to make sure that the address you tell MATLAB Mobile to connect to is an address it can use to reach the MATLAB host.
  1. You can use applications such as gotomypc that run on your PC or Mac and connect to a third party host, and use the android client or IOS client to tell the third party host to relay the data to your PC or Mac. (Note: I have not tried this with gotomypc itself.)
  2. You can open your router or firewall to expose port 31415 (or as chosen) directly to the public, and you would use some means of determining your public IP address, after which you would tell MATLAB Mobile to connect to that public IP and port. If you are using an ISP that changes your IP address frequently then there are tools such as DYNDNS that can continually and automatically register IP address changes against a hostname, and you would use that hostname instead of a fixed IP address
  3. If you have a separate router or firewall device, you can configure it to accept one of the standard VPN protocols such as PPPoE or PPTP. (you might want a dynamic DNS service as described above.) You would configure VPN software on the mobile to connect to the public IP address for your router or firewall device. You would then have set your mobile and your host to internally be on the same private internal address network such as 192.168.1.* . The mobile will encapsulate all packets destined for the private address of the host into encrypted packets set to the VPN server, which will decrypt them and forward the internal packets to the appropriate host.
  4. If you do not have a separate router or firewall, if your host is connected directly to the Internet, then you can get VPN server software for your host and do the same as described above; or you can use the built-in Windows VPN server; see https://www.howtogeek.com/135996/how-to-create-a-vpn-server-on-your-windows-computer-without-installing-any-software/

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 MATLAB Mobile에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by