shared library in linux/ubuntu issue
Mostrar comentarios más antiguos
Hello, Using matlab 2013a in Ubuntu 12.04 I wrote a small function in matlab, compiled it as a c++ shared library and wrote a c++ app to access the data from the library. It compiled ok. The problem is the app only works if I run as sudo. If I run as non sudo, I'm not able to initialize the compiled library, it returns false.
Any ideas? Its really important that I don't run as sudo.
Thank you, -Nav
Respuestas (1)
David Sanchez
el 17 de Oct. de 2013
0 votos
Did you change the ownership of the file and its access permissions?
( unix commands chmod chown)
1 comentario
Nav
el 17 de Oct. de 2013
Categorías
Más información sobre Startup and Shutdown en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!