IRIS Toolbox Reference Manual

copy

Create a copy of a report object

Syntax

Q = copy(P)

Input arguments

Output arguments

Description

Because report is a handle class object, a plain assignment

Q = P;

creates a handle to the same copy of a report object. In other words, changes in Q will also change P and vice versa. To make a new, independent copy of an existing report object, you need to run

Q = copy(P);