Skip to Main Content Skip to Search
Product Documentation

addTrailerReportFcn - Class: cgv.CGV
Package: cgv

Add callback function to execute after all 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. cgv.CGV.run executes all 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

See Also

cgv.CGV.run

How To

  


Related Products & Applications

Learn more about Simulink through this collection of videos, articles, technical literature and the Getting Started with Simulink Guide.

 © 1984-2012- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS