heartbeatMicroservice
R2026bDescription
The heartbeatMicroservice represents the MAVLink Heartbeat
microservice. This object sends periodic HEARTBEAT messages to advertise system status and
establish connectivity between MAVLink clients, such as a ground control station and a UAV.
Use the object functions to start and stop sending heartbeat messages.
Creation
To create a heartbeatMicroservice object, use the mavlinkmicroservice
function and specify the microservice type as "heartbeat":
heartbeat = mavlinkmicroservice(mavlinkio,"heartbeat").
Properties
Examples
Version History
Introduced in R2026b
See Also
mavlinkmicroservice | parameterMicroservice | commandMicroservice | missionMicroservice | ftpMicroservice

