Segmentation fault while calling executable file in Matlab
6 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Srinivasa Kannan
am 27 Dez. 2013
Beantwortet: Walter Roberson
am 28 Dez. 2013
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 Kommentare
Akzeptierte Antwort
Walter Roberson
am 28 Dez. 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
0 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Matrix Indexing finden Sie in Help Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!