Matlab C++ API libMatlabEngine.so Compatibility among different Matlab Versions
古いコメントを表示
Hi everyone,
My question is with regards to the compatibility of the libMatlabEngine of the C++ Matlab API.
Specifically I'm building a C++ mex function with CMAKE with Matlab 2021a.
When I try to evaluate the mex function in a Matlab e.g 2023a version the libMatlabEngine.so is not found.
After running the ldd command for the mex function it seems that the mex function is still points to the libMatlabEngine.so from R2021a. All the other dynamic libraries though are successfully resolved to the R2023a though which seems a bit confusing.

I couldn't find any guidelines with explicit mention on libMatlabEngine.so compatibility among different Matlab versions and best practices on that issue. Should we build C++ mex functions specifically for only one Matlab version?
Best,
採用された回答
その他の回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で Write C Functions Callable from MATLAB (MEX Files) についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!