addLabelData

Class: driving.connector.Connector

Add custom label data at current time

Syntax

addLabelData(connectorObj,labelData)

Description

addLabelData(connectorObj,labelData) adds the custom label data related to the current time that is shown in the Ground Truth Labeler app. The client calls this method using the connectorObj object.

The label data added using this method is incorporated into the groundTruth object, which is exported by the Ground Truth Labeler app.  The label data is added as a custom label, with its name specified by the LabelName property.

Input Arguments

expand all

Connector object, specified as a driving.connector.Connector object.

Label data, specified as a cell array of character vectors or as a string array. Each element of labelData must correspond to a label stored in the labelData property of the input driving.connector.Connector object, connectorObj.

Introduced in R2017a