addPostExecFcn
Add callback function to execute after each input data file is executes
Syntax
cgvObj.addPostExecFcn(CallbackFcn)
Description
adds a callback function to cgvObj.addPostExecFcn(CallbackFcn).
cgvObjcgvObj is a handle to a cgv.CGV object. run calls CallbackFcn after
each input data file is executed for the model. The callback function signature
is:
CallbackFcn(cgvObj, inputIndex)
inputIndex
is a unique numerical identifier associated with input data in the
cgvObj.Examples
The callback function, PostExecutionFcn,
is added to cgv.CGV object, cgvObj
cgvObj.addPostExecFcn(@PostExecutionFcn);
PostExecutionFcn is
defined as:function PostExecutionFcn(cgvObj, inputIndex) ... end