How to redistribute C++ applications that read and write MAT files?
5 次查看(过去 30 天)
显示 更早的评论
MathWorks Support Team
2018-10-9
编辑: MathWorks Support Team
2023-5-4
We are developing software in C++ that needs to interface with MATLAB, predominantly the reading and writing of MAT-files. We want to use the C++ Mx and MAT API without having to redistribute all of the MATLAB DLL files. Are there smaller libraries that we can leverage for this application?
采纳的回答
MathWorks Support Team
2023-5-4
编辑:MathWorks Support Team
2023-5-4
Since the C++ application just reads and writes MAT files, only a few of the libraries and header files are required to redistribute the application.
Refer to the following link that elaborates the steps needed to be taken to redistribute MAT-File based applications for different platforms:
As mentioned in the above website, in addition to the libraries "libmat.dll" and "libmx.dl", use the third-party software Dependency Walker to find the library dependencies:
You can also refer to the following page that lists the MAT-File Library and Include Files:
0 个评论
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Call C++ from MATLAB 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!