clibgen.MethodDefinition Class
R2026bNamespace: clibgen
(Not recommended) Definition for MATLAB function corresponding to C++ class method
The recommended way to generate a method definition for a C++ class is to use a clibgen.api.MethodDefinition object. For more information on updating your code,
see Version
History.
Description
The clibgen.MethodDefinition class contains the MATLAB® definition for a member function defined in the header of a C++ class.
The clibgen.MethodDefinition class is a handle class.
Creation
MATLAB constructs a MethodDefinition object when MATLAB calls addMethod on a clibgen.ClassDefinition object.