clibgen.FunctionTypeDefinition Class
R2026bNamespace: clibgen
(Not recommended) Definition for MATLAB function type corresponding to C++ function type
The recommended way to generate a function type for a C++ library is to use a clibgen.api.FunctionTypeDefinition object. For more information on updating your
code, see Version
History.
Description
Use a FunctionTypeDefinition object to represent function types
std::function and C function pointer arguments in the C++ library.
The clibgen.FunctionTypeDefinition class is a handle class.
Creation
MATLAB® constructs a FunctionTypeDefinition object when MATLAB calls addFunctionType on a clibgen.LibraryDefinition object.