Main Content

addTrailerReportFcn

Add callback function to execute after the input data executes

Syntax

cgvObj.addTrailerReportFcn(CallbackFcn)

Description

cgvObj.addTrailerReportFcn(CallbackFcn) adds a callback function to cgvObj. cgvObj is a handle to a cgv.CGV object. run executes the input data files in cgvObj and then calls CallbackFcn. The callback function signature is:

CallbackFcn(cgvObj)

Examples

The callback function, TrailerReportFcn, is added to cgv.CGV object, cgvObj

cgvObj.addTrailerReportFcn(@TrailerReportFcn);
where TrailerReportFcn is defined as:
function TrailerReportFcn(cgvObj)
...
end