How to prevent Matlab from GPU switching? MATLAB 2014a always uses the discrete GPU only, which is not necessary. (2013a didn't do this, therefore I think there might be an easy solution.)

How could I prevent this? I tried setting the NSSupportsAutomaticGraphicsSwitching flag in Info.plist, but this didn't help.

I don't want to force it using gfxcardstatus as I often work with an external monitor.
Disable automatic graphics switching in the Energy Preferences Panel of System Preferences. This will force your MBP to only use the dedicated GPU, not the discrete GPU.