| Contents | Index |
Add callback function to execute before each input data file executes
cgvObj.addPreExecFcn(CallbackFcn)
cgvObj.addPreExecFcn(CallbackFcn) adds a callback function to cgvObj. cgvObj is a handle to a cgv.CGV object. cgv.CGV.run calls CallbackFcn before executing each input data file in cgvObj. The callback function signature is:
CallbackFcn(cgvObj, inputIndex)
inputIndex is a unique numeric identifier associated with input data in cgvObj.
The callback function, PreExecutionFcn, is added to cgv.CGV object, cgvObj
cgvObj.addPreExecFcn(@PreExecutionFcn);
where PreExecutionFcn is defined as:
function PreExecutionFcn(cgvObj, inputIndex) ... end

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 |