| MIL 10 Reference
| Customize Help
| Save Settings

MmodFree



See also
Availability
Not available in MIL-Lite
Available in MIL

Available on Windows
Available on Linux

Available on Non-Matrox computer
Available on Matrox 4Sight-X
Available on Matrox 4Sight GP
Available on Matrox Supersight
function map Function map
Examples
Synopsis
Free a Model Finder context or a result buffer.
Syntax
void MmodFree(
MIL_ID ObjectId //in
)
Description

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

All Model Finder contexts and all result buffers allocated on a particular system must be freed before the system can be freed.

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 if there is complementary information.
Parameters
This function is not supported on the selected boards.
Parameter
ObjectId

Specifies the identifier of the Model Finder context or result buffer to free. These must have been successfully allocated (with MmodAlloc() or MmodAllocResult()) prior to calling this function.

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