Contenido principal

addFunctionType

R2026b

Class: clibgen.LibraryDefinition
Namespace: clibgen

(Not recommended) Add function type to library definition

addFunctionType is not recommended. For more information on updating your code, see Version History.

Syntax

definition = addFunctionType(libDef,cppsignature,mlname,name,value)

Description

definition = addFunctionType(libDef,cppsignature,mlname,name,value) adds a function type with cppsignature to the library definition libDef. The name,value arguments set these clibgen.FunctionTypeDefinition properties:

  • CPPSignature set to cppsignature

  • MATLABName set to mlname

  • Description

MATLAB® creates addFunctionType statements in the library definition files. Publishers can modifying the values of the name,value arguments.

Version History

Introduced in R2021a

collapse all