Main Content
copy
Class: slreportgen.report.Reporter
Namespace: slreportgen.report
Create copy of a Simulink reporter object and make deep copies of certain property values
Since R2021a
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 or DOM 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 R2021a