Main Content

addClass

Class: clibgen.LibraryDefinition
Namespace: clibgen

Add class to library definition

Syntax

definition = addClass(libDef,cppname,name,value)

Description

definition = addClass(libDef,cppname,name,value) adds a clibgen.ClassDefinition object to the library definition libDef, where cppname is the ClassDefinition property CPPName. The name,value arguments set these ClassDefinition properties:

MATLAB® creates addClass 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.

Version History

Introduced in R2019a