Skip to main content

MclassFree

BoardSupported
Host SystemYes
V4L2Yes
Clarity UHDYes
Concord PoENo
GenTLYes
GevIQYes
GigE VisionYes
IndioNo
Iris GTXYes
Radient eV-CLYes
Rapixo CLYes
Rapixo CoFYes
Rapixo CXPYes
USB3 VisionYes

Free a classifier context, a dataset context, a data preparation context, a training context, a statistics classification context, a training result buffer, a prediction result buffer, or a statistics classification result buffer.

Syntax

void MclassFree(
AIL_ID ClassObjectId //in
)

Description

This function deletes the specified classifier context, dataset context, data preparation context, training context, statistics classification context, training result buffer, prediction result buffer, or statistics classification 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, unless M_UNIQUE_ID was specified during allocation.

Parameters

ClassObjectId (in, AIL_ID)

Specifies the identifier of the classifier context, dataset context, data preparation context, training context, statistics classification context, training result buffer, prediction result buffer, or statistics classification result buffer to free. These must have been successfully allocated with MclassAlloc, MclassAllocResult, MclassRestore, or MclassImportbefore calling MclassFree.

Copyright © 2026 Zebra Technologies.