How to prevent Matlab from GPU switching on Macbook Pro?

8 Ansichten (letzte 30 Tage)
superprisi
superprisi am 8 Mai 2014
Beantwortet: Oliver Woodford am 20 Dez. 2015
My macbook has two GPUs, an integrated and a discrete. Matlab 2014a always uses the discrete only, which is not necessary. (2013a didn't do this.)
How could I prevent this? I tried setting the NSSupportsAutomaticGraphicsSwitching flag in Info.plist, but this didn't help.
Thanks for any ideas, Simon
  1 Kommentar
Oliver Woodford
Oliver Woodford am 20 Dez. 2015
I'd also like a solution to this. When travelling, MATLAB drains the battery because it switches on the GPU. It would be nice if it could use the integrated graphics. That way my battery would last about 3 times longer.

Melden Sie sich an, um zu kommentieren.

Antworten (1)

Oliver Woodford
Oliver Woodford am 20 Dez. 2015
If you don't need the desktop, then you can run the command window only version of MATLAB by calling the following in a terminal:
matlab -nojvm
This will allow you to run MATLAB without engaging the discrete GPU, but means you don't get the niceties of the desktop or any graphics.

Kategorien

Mehr zu Get Started with MATLAB finden Sie in Help Center und File Exchange

Tags

Produkte

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by