addConstructor
Class: clibgen.ClassDefinition
Namespace: clibgen
Add constructor to C++ class definition
Syntax
definition = addConstructor(classDef,cppsignature,name,value)
Description
definition = addConstructor(classDef,cppsignature,name,value)
adds a clibgen.ConstructorDefinition
object to class definition
classDef
, where cppsignature
is the
ConstructorDefinition
property CPPSignature. The name,value
arguments set these
ConstructorDefinition
properties:
MATLAB® creates addConstructor
statements in the library
definition files. Publishers can modifying the values of the
name,value
arguments. For more information, see Publish Help Text for MATLAB Interface to C++ Library and Define MATLAB Interface for C++ Library.
Version History
Introduced in R2019a