Main Content
setMode
Specify mode of execution
Syntax
cgvObj.setMode(connectivity)
Description
cgvObj.setMode(
specifies
the mode of execution for the connectivity
)cgv.CGV
object, cgvObj
.
The default value for the execution mode is set to either normal
or sim
.
Input Arguments
|
Specify mode of execution
|
Examples
After running a cgv.CGV
object, copy the object.
Before rerunning the object, call setMode
to change
the execution mode to sil
for an existing cgv.CGV
object.
cgvModel = 'myCGVModel'; cgvObj1 = cgv.CGV(cgvModel, 'connectivity', 'sim'); cgvObj1.run(); cgvObj2 = cgvObj1.copySetup() cgvObj2.setMode('sil'); cgvObj2.run();