clibgen.ClassDefinition.addMethod - Add method to C++ class definition - MATLAB (original) (raw)
definition = addMethod(classDef,cppsignature,name,value)
adds aclibgen.MethodDefinition object to class definitionclassDef
, where cppsignature
is theMethodDefinition
property CPPSignature. The name,value
arguments set theseMethodDefinition
properties:
MATLABĀ® creates addMethod
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, Define MATLAB Interface for C++ Library, and Use Function and Member Function Templates.