clibgen.api.ClassDefinition
R2026bDescription
A clibgen.api.ClassDefinition object represents the MATLAB® definition of a C++ class or struct. You can create a
ClassDefinition object by using the findClass function.
You can also create objects using the Classes and IncompleteClasses properties of an InterfaceDefinition
object.
Creation
creates class definition
objects from the classDef = idef.ClassesClasses property of a clibgen.api.InterfaceDefinition object.
also creates
class definition objects from the classDef = idef.IncompleteClassesIncompleteClasses property.
Properties
Object Functions
findConstructor | Find constructor in C++ class |
findMethod | Find method in C++ class |
findProperty | Find property in C++ class |
Examples
Version History
Introduced in R2026b