clibgen.LibraryDefinition.addFunction - Add function to library definition - MATLAB (original) (raw)

definition = addFunction(libDef,cppsignature,name,value) adds aclibgen.FunctionDefinition object to the library definitionlibDef, where cppsignature is theFunctionDefinition property CPPSignature. The name,value arguments set theseFunctionDefinition 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 andDetailedDescription, see Publish Help Text for MATLAB Interface to C++ Library. For information about naming template functions, see Use Function and Member Function Templates.