Main Content

copyElement

Class: uav.SensorAdaptor
Namespace: uav

Copy sensor adaptor object

Since R2022a

Syntax

b = copyElement(h)

Description

b = copyElement(h) makes a copy of the sensor adapter handle h, and returns a sensor adapter handle of the same class.

Override copyElement in your subclass to control copy behavior.

Input Arguments

expand all

Sensor adapter to copy, specified as a uav.SensorAdaptor.

Output Arguments

expand all

Copy of sensor adapter, returned as a uav.SensorAdaptor.

Version History

Introduced in R2022a