gpsInfo = info(gpsObj)
returns the update rate of the GPS receiver, GPS lock information and number of
satellites from which the GPS can read signals. info gets updated
after every execution of read command.
GPS module information such as update rate, and number of satellites. The
output has three fields:
UpdateRate - Update Rate of the GPS Module
in Hz. Update Rate of GPS receiver is estimated from the
difference in time at which two RMC sentences are obtained. This
value might be slightly varying from actual Update Rate of the
module.
GPSLocked - This property specifies if GPS
has enough information to get valid data. GPS signals are
acquired easily in locations that have a clear view of the sky.
It can be either a 0 or 1
(logical). If GPSLocked is
0, the GPS does not have the lock to
compute location or time information. If
GPSLocked is 1, GPS
module has enough data to compute location or time
information.
NumberOfSatellitesInView - Number of
satellites from which the GPS module can read the
signals.
Data Types: struct
Version History
Introduced in R2020a
MATLAB Command
You clicked a link that corresponds to this MATLAB command:
Run the command by entering it in the MATLAB Command Window.
Web browsers do not support MATLAB commands.
Select a Web Site
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.