addFunction
Class: clibgen.LibraryDefinition
Namespace: clibgen
Add function to library definition
Syntax
definition = addFunction(libDef,cppsignature,name,value)
Description
definition = addFunction(libDef,cppsignature,name,value) adds a
clibgen.FunctionDefinition object to the library definition
libDef, where cppsignature is the
FunctionDefinition property CPPSignature. The name,value arguments set these
FunctionDefinition properties:
MATLAB® creates addFunction statements in the library definition
files. Publishers can modifying the values of the name,value
arguments. For more information, see Define MATLAB Interface for C++ Library. For
information about using Description and
DetailedDescription, see Publish Help Text for MATLAB Interface to C++ Library. For
information about naming template functions, see Use Function and Member Function Templates.
Version History
Introduced in R2019a