Mac上装Matlab r2009a

此版本的matlab会直接在application目录下装一个app文件,相比原来的安装更符合mac os的设计.
整个安装过程非常简便和快速, 甚至比windows版的还快.
但激活matlab可能有个问题, 会发现activate matlab这个app会crash.
原因是这个激活的app是32bit的,但java默认按照64bit来跑.
解决方法是, 在打开/Applications/Utilities/Java/Java Preferences, 修改默认的java程序运行环境为32bit,等激活后,再改回64bit.

此外, 之前看到了一个matlab加速的方法,是
自己加一个java.opts文件,放在/$Matlab$/bin/maci/目录下,
文件内容是
-Dapple.awt.graphics.UseQuartz=true
让matlab的java程序默认使用tiger的Quartz来render 界面.

但在r2009a里,这个文件自己就在那儿了, 不用自己添加了. matlab界面的速度也非常理想了.

refer

http://www.mathworks.com/support/solutions/data/1-8GS5S1.html?product=ML&solution=1-8GS5S1

Tags: , ,

* Comments(2)

Open terminal in Nautilus/Explorer/Finder and vice versa

Nautilus, Explorer and Finder are GUI file browsers of Ubuntu, Windows, and Mac OS respectively. No matter under which system, it would be extremely convenient if users can open a terminal with path being the same as location of the file browsers or vice versa. Here I show the ways of doing such under each system.

Ubuntu
Open terminal in Nautilus:
just install nautilus-open-terminal with your Synaptic Package Manager, then you can find a “open in terminal” item in your context menu of your Nautilus.

Open Nautilus in terminal

nautilus . 

Windows
Open cmd line in Explorer
install cmdhere tool in the collections of powertoys provided by Microsoft

Open Explorer in terminal

start .

Mac OS
Open terminal in Finder
Download a simple cdto … app here and drag it onto your Finder toolbar. Clicking it will open a terminal with the current path in Finder.

Open Finder in terminal

open .

Tags: , ,

Comments(0)