User`s guide
Register Checks and Process Callbacks
25-29
and Value properties. For example, you can remove, rename, and selectively display
checks and tasks in the By Task folder.
• process_results stage: The Model Advisor executes process_results actions
after checks complete execution. You can specify actions to examine and report on the
results returned by check callback functions.
If you create a process callback function, you must register it, as described in “Register
Checks and Process Callbacks” on page 25-27. The following sections provide model
information about defining your own process callback functions.
For a code example, see “Process Callback Function” on page 25-52.
Process Callback Function Arguments
The process callback function takes the following arguments.
Argument I/O Type Data Type Description
stage Input Enumeration Specifies the stages at
which process callback
actions are executed. Use
this argument in a switch
statement to specify actions
for the stages configure and
process_results.
system Input Path Model or subsystem that the
Model Advisor analyzes.
checkCellArray Input/Output Cell array As input, the array of checks
constructed in the check
definition function.
As output, the array of checks
modified by actions in the
configure stage.
taskCellArray Input/Output Cell array As input, the array of tasks
constructed in the task
definition function.
As output, the array of tasks
modified by actions in the
configure stage.