Publish interface for C++ library in the Live Editor
clibPublishInterfaceWorkflow creates a template live script to
publish a MATLAB® interface for a C++ library. Use this script to walk through the publishing
Generate the library definition file.
Define missing functionality by editing the library definition file.
Build the MATLAB interface to the C++ library file from the library definition.
Test the interface by setting up run-time libraries and calling library functions.
Create Live Script for Publishing MATLAB Interface to C++ Library
clibPublishInterfaceWorkflow function in the
MATLAB Command Window to create the live script.
In the dialog box that appears, specify a file name and location to save the live script. Then, follow the instructions in each section of the script to generate, define, build, and test the library interface.
For more examples, see:
Introduced in R2023a