Segmentation fault while calling executable file in Matlab
6 次查看(过去 30 天)
显示 更早的评论
I have installed Matlab R2013a 64bit linux version on my computer which has Ubuntu 13.04 x86 64 operating system. I have installed a binary file 'qreou' which is a software that makes coordinate transformation from polar to cartesian.
When I ran the command qreou from terminal, I can see the results. However, when I use the command system('qreou') in Matlab, I get the following error message.
>> system('qreou')
Program received signal SIGSEGV: Segmentation fault - invalid memory reference.
Backtrace for this error: #0 0xF7673CAB #1 0xF76742FC #2 0xF775D3FF #3 0xF7490C12 #4 0x806E32E in clsscr_ #5 0x8057C30 in reo_ #6 0x8049465 in MAIN__ at qreoroot.F:? qreou: Segmentation fault
ans =
139
I do not know what the error means and how to solve it so that I can successfully call the binary program from Matlab. Any help will be deeply appreciated.
Thanks, Jam
0 个评论
采纳的回答
Walter Roberson
2013-12-28
I speculate you might have a problem with environment variables or paths, especially LD_LIBRARY_PATH . See http://tldp.org/HOWTO/Program-Library-HOWTO/shared-libraries.html
0 个评论
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Matrix Indexing 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!