フィルターのクリア

Info

この質問は閉じられています。 編集または回答するには再度開いてください。

loadlibrary fails on MatlabR2008b but works on others fine

1 回表示 (過去 30 日間)
Marc
Marc 2013 年 12 月 12 日
閉鎖済み: MATLAB Answer Bot 2021 年 8 月 20 日
Hello,
I have a library that I load with a prototype file without problem on Windows, Mac and Linux. But on xubuntu and MatlabR2008b, it fails with following message:
Error using ==> loaddefinedlibrary myLibrary.so: cannot open shared object file: No such file or directory
I made sure that "myLibrary.so" and "myLibraryProto.m" are in the current Matlab folder, that its dependencies are ok (ldd myLibrary.so found all dependences), and that the library is also 32 bit. As a precaution, I also added current folder to the path with addpath.
I load my library with:
loadlibrary('myLibrary',@myLibraryProto);
but never call "loaddefinedlibrary" myself. And searching for that command didn't show any Matlab documentation.
Anyone has a clue what is going on?
Thanks a lot

回答 (0 件)

この質問は閉じられています。

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by