| Contents | Index |
Add callback function to execute after each input data file is executes
cgvObj.addPostExecFcn(CallbackFcn)
cgvObj.addPostExecFcn(CallbackFcn) adds a callback function to cgvObj. cgvObj is a handle to a cgv.CGV object. cgv.CGV.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.
The callback function, PostExecutionFcn, is added to cgv.CGV object, cgvObj
cgvObj.addPostExecFcn(@PostExecutionFcn);
where PostExecutionFcn is defined as:
function PostExecutionFcn(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 |