Class: cgv.CGV
Package: cgv
Specify mode of execution
cgvObj.setMode(connectivity)
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
.
|
Specify mode of execution
|
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 = 'rtwdemo_cgv'; cgvObj1 = cgv.CGV(cgvModel, 'connectivity', 'sim'); cgvObj1.run(); cgvObj2 = cgvObj1.copySetup() cgvObj2.setMode('sil'); cgvObj2.run();