target.CommunicationProtocolStack - Describe communication protocol parameters - MATLAB (original) (raw)

Main Content

Namespace: target

Describe communication protocol parameters

Since R2020b

Description

To describe target-specific parameters for different protocols, you can associate atarget.CommunicationProtocolStack object with atarget.Board object. One example oftarget.CommunicationProtocolStack istarget.PILProtocol.

To create a target.CommunicationProtocolStack object, use the target.create function.

Properties

expand all

Name of the API.

Attributes:

GetAccess public
SetAccess public

Examples

collapse all

Specify PIL protocol information. This code snippet from Set Up PIL Connectivity by Using Target Framework shows how to specify the information.

pilProtocol = target.create('PILProtocol'); pilProtocol.Name = 'Linux PIL Protocol'; pilProtocol.SendBufferSize = 50000; pilProtocol.ReceiveBufferSize = 50000; hostTarget.CommunicationProtocolStacks = pilProtocol;

Version History

Introduced in R2020b