addFunction
R2026bClass: clibgen.LibraryDefinition
Namespace: clibgen
(Not recommended) Add function to library definition
addFunction is not recommended. For more information on updating your
code, see Version
History.
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:
MATLABNameDescriptionDetailedDescriptionTemplateUniqueName
MATLAB® creates addFunction statements in the library definition
files. Publishers can modifying the values of the name,value
arguments.