copy
Class: mlreportgen.report.Reporter
Namespace: mlreportgen.report
Create copy of reporter object and make deep copies of certain property values
Since R2020a
Syntax
reporterObj2 = copy(reporterObj1)
Description
returns a copy of the specified reporter object. The returned copy contains a deep copy of any property value of
reporterObj2
= copy(reporterObj1
)reporterObj1
that references a reporter, DOM object, or
mlreportgen.report.ReporterLayout
object. As a result, the corresponding property
value in reporterObj2
refers to a new, independent object. You can modify
the properties of the original or new object without affecting the other object.
Input Arguments
Output Arguments
Examples
More About
Version History
Introduced in R2020a