opNew = move(op, oldPath, newPath)
returns a copy of the OperatingPoint object
op, with an element at the specified location
oldPath moved to the new location, specified by
newPath. Use this function to update the operating point
data after restructuring your model or renaming a block or subsystem.
Original operating point in the workspace, specified as an
OperatingPoint object.
oldPath — Relative path to original element slash-delimited character vector or string scalar
Relative path to the original element in the operating point data tree,
specified as a slash-delimited character vector or string scalar. The
element can be a subsystem, block, or variable target.
Data Types: char | string
newPath — Relative path to new element slash-delimited character vector or string scalar
Relative path to the new element in the operating point data tree,
specified as a slash-delimited character vector or string scalar. The
element can be a subsystem, block, or variable target.
New OperatingPoint object, which is a copy of the
original OperatingPoint object, op,
with element specified by oldPath moved to the new
location, newPath. You can move elements recursively,
that is, the name of the new OperatingPoint object,
opNew, can be the same as the name of the original
OperatingPoint object, op.
You can also select a web site from the following list:
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.