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!