LibraryLink`
LibraryLink`

MTensor_free (C Function)

is a library callback function that frees an MTensor.

Details

  • Used in C/C++ code in a library function called from the Wolfram Language.

Examples

Basic Examples  (1)

This frees an MTensor:

MTensor T0;
...
libData->MTensor_free( T0);