- * You only need to edit the matlab bin file by paste just after the "#!/bin/sh" command:
- You will find the matlab bin file on:
/path to matlab/bin/matlab
- Now edit matlab bin file:
$ gedit /path to matlab/bin/matlab
- The result after editing the file would be something like this:
#!/bin/sh
export MATLAB_JAVA=/usr/lib/jvm/java-6-sun/jre/
#
# Name:
# matlab script file for invoking MATLAB
#
bla bla bla
- Save and run Matlab ;)
11 comments:
Thanks, that fixed my 2007b installation :)
It works also for 2006b but seems only with java6. Anyway, thanks a lot!
Ahhhh Thanks worked for 2007a ...
Thanks. The trick works with 64-bit 2006b too. I had to modify the exported path.
I love you.
Thanks so much!
I tried another thing that worked so fine.........
In any command window, type:
"export AWT_TOOLKIT=MToolkit"
Then start MATLAB from the same window.
I works fine
Also you can add it to your .bashrc
Enjoy.........
Thank, helped me a lot ( Matlab R2007a )
Thanks!
Saved my life!
Works fine with R2008! Thanks!
Does not work ....
My figures still appear in a really weird way ...
Is there anything new ?
Post a Comment