Locate my mobile phone using GPS through Matlab desktop and Matlab mobile

조회 수: 20 (최근 30일)
Md Azmir
Md Azmir 2025년 11월 8일 21:08
댓글: Md Azmir 2025년 11월 11일 18:56

Matlab mobile is not sending latitude and longitude data to my Matlab desktop that's why it couldn't locate my phone exact location. I'm using Matlab desktop ver 2025b

  댓글 수: 1
CJ
CJ 2025년 11월 10일 15:42
Hello,
Could you please check your mobile device settings to make sure you enable precise location access for the MATLAB Mobile app and then try again to see if the issue is fixed? If only approximate location access is enabled, MATLAB Mobile will not be able to read location data properly.
If that does not resolve the issue, could you please provide more information so that we can use to triage? For example, what is the device model you used when the problem happened? Was it an Android or iOS device?
Additionally, this is the doc example of using location sensor on MATLAB Mobile for reference -https://www.mathworks.com/help/matlabmobile/ug/acquire-gps-data-and-plot-your-location-and-speed-on-a-map.html
Thanks,

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

답변 (1개)

sneha
sneha 2025년 11월 11일 6:22
Make sure the MATLAB Support Package for Android/iOS Sensors is installed, and MATLAB Mobile has location permissions enabled.
Additionally, you can go for below checks as well:
  1. See “Requirements for Using Sensors” and “Sensor Settings → Send Position Data” in https://www.mathworks.com/help/matlabmobile/ug/sensor-data-streaming-tutorial.html
  2. Ensure Position sensor is ON and set to Stream to MATLAB. (refer to this for more info on MATLAB Mobile https://www.mathworks.com/help/matlabmobile/ug/sensor-data-collection-with-matlabmobile.html )
  3. Check if poslog(m) returns latitude/longitude data. (refer to this for more info on poslog function https://www.mathworks.com/help/matlab/ref/mobilesensor.internal.mobiledev.poslog.html )
  댓글 수: 1
Md Azmir
Md Azmir 2025년 11월 11일 18:56

I did everything correct but it's send poslog(1) like true/false answer But it didn't send any numerical data( coordinate).

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

카테고리

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