Main Content

addOpaqueType

Add opaque type to library definition

Since R2021a

Syntax

addOpaqueType(libDef,cppsignature,mlname,name,value)

Description

addOpaqueType(libDef,cppsignature,mlname,name,value) adds an opaque type to the library definition libDef. The name,value arguments set these clibgen.OpaqueTypeDefinition properties:

MATLAB® creates addOpaqueType statements in the library definition files. Publishers can modifying the values of the name,value arguments. For more information, see Define MATLAB Interface for C++ Library. For information about using Description and DetailedDescription, see Publish Help Text for MATLAB Interface to C++ Library.

Version History

Introduced in R2021a