How to run a linux program from matlab

58 views Asked by At

I want to run a program from matlab command line. I use system command to run the traffic simulator, SUMO. Now the problem is sumo works fine on the bash shell but when I use

system('sumo -c ...');

It gives me the following error:

sumo: /usr/local/MATLAB/R2016b/sys/os/glnxa64/libstdc++.so.6: version `CXXABI_1.3.9' not found (required by sumo)
sumo: /usr/local/MATLAB/R2016b/sys/os/glnxa64/libstdc++.so.6: version `GLIBCXX_3.4.21' not found (required by sumo)
sumo: /usr/local/MATLAB/R2016b/sys/os/glnxa64/libstdc++.so.6: version `CXXABI_1.3.9' not found (required by /usr/lib/x86_64-linux-gnu/libFOX-1.6.so.0)

I shouldn't receive this error. I've even reset the PATH environment variable and appended all necessary system PATHs to it. But at the end it doesn't work. How can I solve this problem?

0

There are 0 answers