Main Content

copy

Class: uav.SensorAdaptor
Namespace: uav

Copy sensor adaptor

Since R2022a

Description

sensorObjCopy = copy(sensorObj) creates a deep copy of the uav.SensorAdaptor object with the behavior set in the copyElement method.

Input Arguments

expand all

UAV sensor object, specified as an object of a subclass of uav.SensorAdaptor.

Output Arguments

expand all

Deep copy of the UAV sensor object, returned as an object of a subclass of uav.SensorAdaptor. The copy is of the same object type, and has the same properties, as the object specified to sensorObj.

Version History

Introduced in R2022a