mavlinkio
Create local MAVLink client
Description
The mavlinkio function creates a mavlinkio
      object, which represents a local MAVLink client. After you create a mavlinkio
      object, you can connect the object and exchange messages with other MAVLink clients such as
      UAV and ground control stations using the object functions.
Creation
Syntax
Description
mavlink = mavlinkio(msgDefinitions)mavlinkdialect
            object.
mavlink = mavlinkio(dialectXML)
mavlink = mavlinkio(dialectXML,version)
mavlink = mavlinkio(___,Name=Value)mavlink = mavlinkio("common.xml",SystemID=2) sets the system ID to
            2. 
Input Arguments
Name-Value Arguments
Properties
Object Functions
| connect | Connect to MAVLink clients through UDP port | 
| disconnect | Disconnect from MAVLink clients | 
| sendmsg | Send MAVLink message | 
| sendudpmsg | Send MAVLink message to UDP port | 
| serializemsg | Serialize MAVLink message to binary buffer | 
| listConnections | List all active MAVLink connections | 
| listClients | List all connected MAVLink clients | 
| listTopics | List all topics received by MAVLink client | 
Examples
Version History
Introduced in R2019a