aclmdlBundleGetModelId
Applicability
|
Product |
Supported |
|---|---|
|
|
√ |
|
|
√ |
|
|
√ |
|
|
√ |
|
|
√ |
Description
Obtains the ID of an executable model.
This API must be used with other APIs to dynamically update variables. For details, see aclmdlBundleLoadFromFile.
Prototype
aclError aclmdlBundleGetModelId(uint32_t bundleId, size_t index, uint32_t *modelId)
Parameters
|
Parameter |
Input/Output |
Description |
|---|---|---|
|
bundleId |
Input |
Bundle ID returned after a model is successfully loaded through aclmdlBundleLoadFromFile or aclmdlBundleLoadFromMem. |
|
index |
Input |
Index. Must be in the range of [0, Model count – 1]. Call aclmdlBundleGetModelNum to obtain the model count. |
|
modelId |
Output |
ID of an executable model. |
Returns
0 on success; else, failure. For details, see aclError.