clibgen.LibraryDefinition Class
R2026bNamespace: clibgen
(Not recommended) MATLAB definition for C++ library
The recommended way to generate MATLAB® definitions for a C/C++ library is to create a clibgen.api.InterfaceConfiguration
object. For more information on updating your code, see Version
History.
Description
A clibgen.LibraryDefinition object contains information about a C++ library, such as the
classes, functions, methods, and properties present in the library. The definitions help
MATLAB identify information about parameters, such as pointers.
The clibgen.LibraryDefinition class is a handle class.
Creation
libdef = LibraryDefinition( creates a
library definition object from dataFile), the name
of the data file created by the dataFile.xmlclibgen.generateLibraryDefinition command. The constructor validates that the
dataFile file is both syntactically and semantically valid. If the file
is not valid, then the constructor throws an error.