problem using system command in Linux

조회 수: 2 (최근 30일)
Amir
Amir 2017년 8월 15일
답변: David Santos 2019년 8월 23일
I have a program installed on my Ubuntu that I need to call from matlab. If I just simply call it from the terminal it works with no problem, but if I call it from matlab using the command "system", I get a bunch of weird errors:
*/usr/local/MATLAB/R2013a/sys/os/glnxa64/libgfortran.so.3: version `GFORTRAN_1.4' not found (required by /usr/lib/libdmumps_seq-4.10.0.so)
/usr/local/MATLAB/R2013a/sys/os/glnxa64/libgfortran.so.3: version `GFORTRAN_1.4' not found (required by /usr/lib/libmumps_common_seq-4.10.0.so)*
Note1: I have gfortran4.8 installed. Note2: the command "system" works on simpler commands like system(ls) or system(cd).
Can anyone help me understand the problem?
Thanks,

답변 (1개)

David Santos
David Santos 2019년 8월 23일
Hi,
try this wrapper. It worked for me commenting line 26 and arranging the rest of lines.
All the best.

카테고리

Help CenterFile Exchange에서 Introduction to Installation and Licensing에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by