Differences between revisions 1 and 3 (spanning 2 versions)
Revision 1 as of 2007-09-21 20:13:36
Size: 764
Editor: TobinFricke
Comment:
Revision 3 as of 2007-09-21 20:13:55
Size: 767
Editor: TobinFricke
Comment:
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
Line 9: Line 8:
=== Simulink crashes == === Simulink crashes ===
Line 13: Line 12:
{{ {{{
Line 15: Line 14:
}} }}}
Line 19: Line 18:
{{ {{{
Line 25: Line 24:
}} }}}

Some Ubuntu-related tricks will be descibed here.

Matlab

Matlab R2007a crashes frequently in Ubuntu Feisty. Apparently most of these problems are actually the fault of Java, on which Matlab relies heavily. By setting a few environment variables and upgrading the java JVM, most of these quirks can be fixed.

Install a new JVM by typing:

sudo aptitude install sun-java6-jre sun-java6-fonts

Now set the MATLAB_JAVA environment variable to point to the new JVM. I start Matlab via the following shell script (which I put in ~/bin):

export AWT_TOOLKIT=MToolkit
export MATLAB_JAVA=/usr/lib/jvm/java-6-sun-1.6.0.00/jre
eval `~/ligotools/bin/use_ligotools`
/usr/local/bin/matlab $*

Ubuntu (last edited 2012-01-03 23:02:45 by localhost)