主要内容

建造MATLABInterface to C++ Library

To create a MATLAB®interface to a C++ library, use the MATLABclibgen包裹

构建(publish) a MATLAB interface to a C++ library, seeSteps to Publish a MATLAB Interface to a C++ Library.

有关MATLAB库中调用函数的信息,请参见Use Prebuilt MATLAB Interface to C++ Library.

Functions

clibgen.generateLibraryDefinition Create definition file for C++ library
clibgen.buildInterface Create interface to C++ library without definition file

软件包

clibgen Package Summary of packages and classes to support calling C++ library functionality fromMATLAB

Topics

如何发布界面

特定于平台的库文件的例子

由标题/CPP源文件定义的库的示例

Define and Customize

Troubleshooting

建造C++ Library Interface and Review Contents

If library functionality is missing, the library might contain unsupported language features or data types.

Limitations to C/C++ Support

C/C++ library features not supported in MATLAB.

故障排除C ++库定义问题

Information for resolving error when publishing a MATLAB interface to a C++ library.