matlab compiler on osx: using a matlab generated shared library
2 次查看(过去 30 天)
显示 更早的评论
Dear all, I've successfully generated a shared library in osx 10.8 with matlab R2011b, from a buch of .m files. I can make a standalone C++ test program that uses the library without any problem. Note that this program was built with mbuild. However, when calling function from this library from a more complex program, compiled with cmake on command line. The program fails with this error: " No Info.plist file in application bundle or no NSPrincipalClass in the Info.plist file, exiting". Please note that my program does not generate any bundle, just a command line executable.
Do I have to make my build output a bundle? Is there any other way to circunvent this?
EDIT 1: I've just generated a bundle, but and I arrive to the point where the matlab function gets called, but nothing happens, the program stays there forever.
Thanks in advance. Best, Juan
1 个评论
Siva
2013-2-3
I have the same problem (I am using the matlab library in a larger XCode project). Did you find any solution?
回答(1 个)
Kaustubha Govind
2012-10-29
This seems to be a Mac-specific issue. I don't know too much about this, but perhaps this Technical Solution will be useful: Why do I receive ' No Info.plist file in application bundle' errors when I try to execute my compiled MATLAB code on Maci 64-bit systems?
2 个评论
Kaustubha Govind
2012-10-31
Juan: Sorry, I'm not a Mac user/developer, so I don't know the answer to your question. Could you please contact MathWorks Tech Support for more information? Perhaps some Mac developer forums might also give you more insight.
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 C Shared Library Integration 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!