MATLAB: Overload get(0, ‘MonitorPositions’)

handle graphicsMATLABmonitorsroot

I am using someone else's toolbox that calls get(0, 'MonitorPositions') all over the place. The problem is that on my system get(0, 'MonitorPositions') returns nonsense. I understand that dual monitors are not officially supported by MATLAB despite the existence of a property like MonitorPositions.
Is it possible to overload either get(0, 'MonitorPositions') or whatever is called by get(0, 'MonitorPositions')?
The problem is not getting the monitor positions from the OS. I can write a MATLAB function that uses either java or system calls to get the monitor positions. I do not want to edit the code in the toolbox.

Best Answer

While it is not a very satisfying answer, upgrading to r2011a fixed my problem. I am not sure if this is a universal solution or not, but it makes me happy.