help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: start Octave from Matlab


From: Thomas Ilnseher
Subject: Re: start Octave from Matlab
Date: Tue, 13 May 2014 15:39:00 +0200

Hi Timo,

This happens because MatlabĀ  ships its own set oft standard libraries, which are older than what's in your Linux.

To solve it:

1 open a terminal window where octave can Start.
2 type "echo $LD_LIBRARY_PATH"
3 Create a script octave.sh containing:

#!/bin/bash
Export LD_LIBRARY_PATH="the Stuff you have seen in 2"
octave "$@"

Then call this script with your system function.

Am 13.05.2014 09:55 schrieb "Timo" <address@hidden>:
Hi all,

I need to run a Octave script from a function running in Matlab. This
can be done with the Matlab "system" function by calling:
system('octave --eval "MYSCRIPTNAME"')

I get some errors of following type:
octave:
/usr/local/MATLAB/MATLAB_Production_Server/R2013a/sys/os/glnxa64/libstdc++.so.6:
version `GLIBCXX_3.4.15' not found (required by
/usr/lib/x86_64-linux-gnu/liboctinterp.so.1)
octave:
/usr/local/MATLAB/MATLAB_Production_Server/R2013a/sys/os/glnxa64/libstdc++.so.6:
version `GLIBCXX_3.4.15' not found (required by
/usr/lib/x86_64-linux-gnu/liboctave.so.1)
octave:
/usr/local/MATLAB/MATLAB_Production_Server/R2013a/sys/os/glnxa64/libgfortran.so.3:
version `GFORTRAN_1.4' not found (required by
/usr/lib/x86_64-linux-gnu/libcruft.so.1)
octave:
/usr/local/MATLAB/MATLAB_Production_Server/R2013a/sys/os/glnxa64/libgfortran.so.3:
version `GFORTRAN_1.4' not found (required by /usr/lib/liblapack.so.3)
octave:
/usr/local/MATLAB/MATLAB_Production_Server/R2013a/sys/os/glnxa64/libgfortran.so.3:
version `GFORTRAN_1.4' not found (required by /usr/lib/libblas.so.3)

Does anyone have an idea what the error could be or have a different
idea how to do this? Are there system paths wrong or missing or
something similar?

Thanks
T

_______________________________________________
Help-octave mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/help-octave

reply via email to

[Prev in Thread] Current Thread [Next in Thread]