Segmentation fault while calling executable file in Matlab
6 ビュー (過去 30 日間)
古いコメントを表示
Srinivasa Kannan
2013 年 12 月 27 日
回答済み: Walter Roberson
2013 年 12 月 28 日
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!