matlab.mixin.Copyable.copy - Copy array of handle objects - MATLAB (original) (raw)

Main Content

Class: matlab.mixin.Copyable
Namespace: matlab.mixin

Copy array of handle objects

Description

B = copy([A](#mw%5F3bb65c74-bd16-4d4f-b7da-d4ea85861620)) copies each element in the array of handles A to a new array of handles B.

The copy method follows these rules:

Input Arguments

expand all

Handle object array to be copied.

Examples

For an example of the use of copy, see Implement Copy for Handle Classes.

Version History

Introduced in R2011a