Main Content
addHeaderReportFcn
Add callback function to execute before executing input data in object
Syntax
cgvObj
.addHeaderReportFcn(CallbackFcn)
Description
adds a callback function to cgvObj
.addHeaderReportFcn(CallbackFcn
)
.
cgvObj
cgvObj
is a handle to a cgv.CGV
object. run
calls CallbackFcn
before executing input data included in cgvObj
. The callback
function signature is:
CallbackFcn(cgvObj)
Examples
The callback function, HeaderReportFcn
,
is added to cgv.CGV
object, cgvObj
cgvObj.addHeaderReportFcn(@HeaderReportFcn);
HeaderReportFcn
is
defined as:function HeaderReportFcn(cgvObj) ... end