Posts

Showing posts with the label MATLAB

cannot start eclipse in Ubuntu 12.04 -- java.lang.UnsatisfiedLinkError: Could not load SWT library.

The needed stuff are under /usr/lib/jni/ folder. One needs to symlink them in and it worked. ln -s /usr/lib/jni/libswt-* ~/.swt/lib/linux/x86_64/ Reference

Set up gcc/g++ for Matlab in Ubuntu 11.10

Please check here and here .

MATLAB - cannot find libstdc++ when running external C/C++ program

Error message: ..../sys/os/glnx86/libstdc++.so.6: version `GLIBCXX_3.4.11' not found (required by ...) Solution: Start MATLAB with following command LD_PRELOAD = "Dirlocation"/libstdc++.so.6 "DirForMATLAB_Shell"/matlab For example: libstdc++.so.6 located on "/usr/lib/i386-linux-gnu/" MATLAB is located on " /opt/matlab2011b/bin" Start MATLAB by following command: LD_PRELOAD=/usr/lib/i386-linux-gnu/libstdc++.so.6 /opt/matlab2011b/bin/matlab Reference

MATLAB Linux install error: /tmp/mathworks_15227/java/jre/glnxa64/jre/bin/java: Permission denied

When installing MATLAB on a Linux system, you may encounter the following error message. Preparing installation files ... Installing ... eval: 1: /tmp/mathworks_15227/java/jre/glnxa64/jre/bin/java: Permission denied My solution turns out to be the following: From the install package, cd to sys/java/jre/ xxx /jre/bin directory. ( xxx could be glnx86 or glnxa64 or something similar) chmod a+x * Execute the install command once again. You should be all set.