How to send sensor data of smartphone to Matlab remotely

2 ビュー (過去 30 日間)
Teo W.Y
Teo W.Y 2015 年 6 月 11 日
コメント済み: Walter Roberson 2022 年 6 月 28 日
I am developing a tracking system that uses the GPS data of a smartphone transmitted to Matlab and process them in real time. I have been using the Matlab Mobile app to do so but it requires my smartphone to be connected to the same network as the PC running Matab. However, I want to transmit the GPS and sensor data remotely when the smartphone is in a traveling vehicle, and therefore will not be on the same network as my PC.
My question is will it be possible to transmit these data over a 3G/4G network from my smartphone to Matlab (running on my PC) through the Matlab Mobile app?
Thank you!

採用された回答

Walter Roberson
Walter Roberson 2015 年 6 月 11 日
MATLAB Mobile does not require that the cell phone be on the same local network as the PC. You can tell MATLAB Mobile to connect to a public IP address.
The rest is a matter of firewalls allowing the ports, and it might involve setting up static Network Address Translation for the port if the public IP address gets you to a router that is doing Network Address Translation for an internal LAN.
The main thing about MATLAB Mobile is that there is little to no security built in to the process -- no encryption of packets, little or no authentication that the incoming packets are from an authorized user.
I would thus recommend that you consider using a Virtual Private Network (VPN) between the phone and the PC.
  6 件のコメント
Ion Stefanache
Ion Stefanache 2022 年 6 月 28 日
編集済み: Ion Stefanache 2022 年 6 月 28 日
Hi,
maybe is good for you that link:
so is more more posibilities/protocols: TCP,UDP,websocket,mQTT...
Walter Roberson
Walter Roberson 2022 年 6 月 28 日
Note that MATLAB Mobile no longer permits connecting to your own computer, only to MATLAB Online. It does still have ways of transferring sensor readings

サインインしてコメントする。

その他の回答 (0 件)

コミュニティ

カテゴリ

Help Center および File ExchangeMATLAB Mobile についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by