- Read the raw bytes using serialport read()
- Create a mavlinkdialect object
- Decode the uint8 buffer using deserializemsg()
- Read serial port data using the Serial Receive block. Set the COM port, data length, and sample time.
- Parse the raw serial data into Simulink bus using MAVLink Deserializer block.