Main Content

target.XCPSerialTransport Class

Namespace: target

Represent XCP serial transport protocol layer

Since R2021a

Description

Use the target.XCPSerialTransport class, which inherits functionality from target.XCPTransport, to represent the XCP serial transport protocol layer for your target hardware.

Examples

collapse all

This code snippet shows how you can use the target.XCPSerialTransport class to represent the XCP serial transport protocol layer for your target hardware.

xcpSerialTransport = ...
                     target.create('XCPSerialTransport', ...
                     'Name', 'XCP Serial Transport');

Version History

Introduced in R2021a