Pointer object for use with shared C library
Create NULL Pointer for string Argument
p = libpointer('string');
Value — Value for pointer object
any valid value
Value, specified as any valid value for given type.
Use with libraries that are loaded using the
This is an advanced feature for experienced C programmers. MATLAB automatically converts data passed to and from external library functions to the data type expected by the external function. Use a
lib.pointerobject instead of automatic conversion in the following situations.
You want to modify the data in the input arguments.
You are passing large amounts of data, and you want to control when MATLAB makes copies of the data.
The library stores and uses the pointer for a period of time so you want the MATLAB function to control the lifetime of the
Introduced before R2006a