Segmentation fault while calling executable file in Matlab

5 views (last 30 days)
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

Accepted Answer

Walter Roberson
Walter Roberson on 28 Dec 2013
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

More Answers (0)

Categories

Find more on Startup and Shutdown in Help Center and File Exchange

Products

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!