Main Content

clibgen.FunctionTypeDefinition Class

Namespace: clibgen

Definition for MATLAB function type corresponding to C++ function type

Since R2021a

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.

Properties

expand all

Help text for the end user describing the function type, specified as a string or a character vector. The publisher can modify the value of the Description property in the library definition file.

Attributes:

GetAccess
public
SetAccess
public

Function type signature, specified as a string or a character vector.

Attributes:

GetAccess
public
SetAccess
private

Function type name in MATLAB, specified as a string or a character vector.

Attributes:

GetAccess
public
SetAccess
private

Library defining the function type, specified as a clibgen.LibraryDefinition object.

Attributes:

GetAccess
public
SetAccess
private

Version History

Introduced in R2021a