| Customize Help
| Save Settings

MclassFree



Function Map
Synopsis
Free a classifier context, a dataset context, a training context, a training result buffer, or a prediction result buffer.
Syntax
void MclassFree(
MIL_ID ClassObjectId //in
)
Description

This function deletes the specified classifier context, dataset context, training context, training result buffer, or prediction result buffer identifier and releases any memory associated with it. All contexts and 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 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
ClassObjectId

Specifies the identifier of the classifier context, dataset context, training context, training result buffer, or prediction result buffer to free. These must have been successfully allocated with MclassAlloc(), MclassAllocResult(), MclassRestore(), or MclassImport() before calling MclassFree().

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