MATLAB Answers

Can I use MATLAB with an NVIDIA GPU on macOS 10.14 Mojave?

165 views (last 30 days)
Can I use MATLAB with an NVIDIA GPU on macOS 10.14 Mojave?

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 30 Jan 2019
MATLAB requires that an NVIDIA-supplied graphics driver be installed on your Mac in order to take full advantage of an NVIDIA GPU. NVIDIA has not released an Apple-approved graphics driver for macOS Mojave. For more information, please see this official statement from NVIDIA on NVIDIA's developer forums.
The impact on MATLAB is as follows:
You can use MATLAB with an NVIDIA GPU on macOS Mojave, however, graphics performance is degraded when compared to running MATLAB on previous releases of macOS.
Computational acceleration
NVIDIA-specific functionality such as CUDA is not available which means GPU Arrays, provided by Parallel Computing Toolbox and used by many products, will not work.
The following products have features that make use of CUDA functionality and these features will be impacted by the lack of an NVIDIA-supplied graphics driver:
  • Parallel Computing Toolbox
  • GPU Coder
  • Image Processing Toolbox
  • Deep Learning Toolbox
  • Statistics and Machine Learning Toolbox
  • Computer Vision System Toolbox
  • Signal Processing Toolbox
  • Communications Toolbox
  • Phased Array System Toolbox
  • Text Analytics Toolbox
  • Reinforcement Learning Toolbox


M J on 6 Dec 2020
Very interesting! Thank you for the info. So in any case, I think I will get a desktop/workstation to overcome this problem. Do you think it would be safe to go with something that has, say, a Geforce RTX 2060 (compute capability = 7.5), assuming I intend to work with the trainNetwork function in the long term? Would it be a wise move for the long term (next 5 years)? Thanks again.
Walter Roberson
Walter Roberson on 6 Dec 2020
My personal assumption would be that 5 years from now, you would be handing an RTX 2060 down to a young relative or neighbour who has an interest in "retro" gaming (early 2020's), with you either having gotten out of the deep learning field yourself, or else having upgraded to something newer / faster / buzz-word-ier.
5 years ago was Maxwell architecture, GeForce 9xx timeframe. Not a terrible architecture by any means, but if you had one in hand now, you would be dithering over upgrading it now or waiting for the next NVIDIA release hoping for a price drop on the RTX 2xxx series.
M J on 6 Dec 2020
as long as it will still be compatible with the deep learning toolbox at least, I'm okay with that. But good point though:-) Thanks a lot !

Sign in to comment.

More Answers (1)

SALIOU Fall on 8 Feb 2021 at 0:43
the Matlab app cannot be istalled in my Macbook air. how can i do?


Sign in to comment.


No tags entered yet.

Community Treasure Hunt

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

Start Hunting!