| Customize Help
| Save Settings

MpatFree



Function Map
Synopsis
Free a Pattern Matching context or a result buffer.
Syntax
void MpatFree(
MIL_ID ContextOrResultPatId //in
)
Description

This function deletes the specified Pattern Matching context (and all its models) or result buffer identifier, and releases any memory associated with it. Note that, to delete individual models in the context, use MpatDefine().

Note that this function reference has not been updated for a MIL system added during a MIL update. Refer to the MIL system's release note to see which MIL system’s documentation you should use in its place and any possible differences.
Parameters
This function is not supported on the selected boards.
This function reference has not been updated for the selected MIL system. To show the content of this page, choose a second MIL system; refer to the MIL system's release note to see which MIL system’s documentation to choose and any possible differences.
Parameter
ContextOrResultPatId

Specifies the identifier of the Pattern Matching context or result buffer to free. These must have been successfully allocated (with MpatAlloc() or MpatAllocResult()) prior to calling this function.

Compilation information
Header Include mil.h.
Library Use mil.lib; milpat.lib.
DLL Requires mil.dll; milpat.dll.