copyobj
Copy SimBiology object and its children
Syntax
Description
makes a copy of a SimBiology model object copiedObj = copyobj(modelObj)modelObj and returns the
copied model object copiedObj. The function also sets the
Parent property of the copied model object to the root object.
makes a copy of a SimBiology object and returns the copied object. The function also sets
the copiedObj = copyobj(object,parentObj)Parent property of the copied object to
parentObj.
One exception is that if both object and
parentObj are compartments, the Owner property
of the copied object is set to parentObj instead.
specifies how to handle naming conflicts. (since R2024a)copiedObj = copyobj(object,parentObj,conflictOption)