Friday, July 24, 2009

Matlab & Compiz incompatibility

I was using Matlab 2009 without any problems when one fine day I decide to enable Compiz on my laptop. I find that the graphics from Matlab suddenly turned haywire. I found this solution:

In /usr/local/matlab09/toolbox/local/hgrc.m replace the line

monitors = get(0, 'MonitorPositions');
with
monitors = [0,0,1280,800;1281,801,1280,800];

The original post can be found here.

No comments:

Post a Comment