build
Class: clibgen.LibraryDefinition
Namespace: clibgen
Build library interface
Syntax
build(libDef)
Description
build(
validates and builds an
interface from the library definition file created with the libDef
)clibgen.generateLibraryDefinition
function. For more information, see
Steps to Publish a MATLAB Interface to a C++ Library.
If successful, the method prints an output to the Command Window. The output contains
information about the interface file that is generated and any functions dropped because
of validation failure. The function also displays the build log if the Verbose
name-value argument in clibgen.generateLibraryDefinition
is
true
.
Examples
Input Arguments
Tips
For troubleshooting information, see Troubleshooting C++ Library Definition Issues.
Alternative Functionality
clibgen.buildInterface
Function
Use the clibgen.buildInterface
function instead of
clibgen.generateLibraryDefinition
and
build
if you know that MATLAB® automatically defines all class constructors, methods, data members,
and functions for the library, or if undefined constructs are not required by your
interface.
For more information, see Build C++ Library Interface and Review Contents.
Version History
Introduced in R2019a