Contenu principal

How to Publish a MATLAB Interface to a C/C++ Library

You can publish an interface using a workflow script or from the MATLAB® command line. For requirements to build an interface, see Requirements for Building Interface to C/C++ Libraries.

Publish with Workflow Script

  1. Call the clibPublishInterfaceWorkflow function to open the template workflow script Publish MATLAB interface to C++ library.

  2. Follow these steps in the live script. Each step has a code section to run.

  3. To share your interface with MATLAB users, see Distribute MATLAB Interface to C/C++ Library.

Publish at Command Line

You can publish an interface from the command line by calling the clibgen.generateLibraryDefinition function. The outline for publishing an interface includes these steps:

Examples to Publish an Interface

See Also

|

Topics