Matlab 2019b, error "gpu.dll is not a valid Win32 application"

조회 수: 8 (최근 30일)
Stephan Koschel
Stephan Koschel 2020년 4월 14일
댓글: Stephan Koschel 2020년 4월 14일
I have a weird problem with my Matlab 2019b installation (academia version).
I am trying to train a feedforward neural network, using my gpu, but Matlab keeps telling me that "gpu.dll is not a valid Win32 application.".
I can replicate that error when I try to read the gpu informations in Matlab:
>> count = gpuDeviceCount
count =
>> gpu1 = gpuDevice(1)
Failed to load library: gpu.dll, error was: gpu.dll is not a valid Win32 application.
What I tried so far without success:
  • installed the newest graphics driver
  • reinstalled Matlab 2019b
  • verification of windows files ( SFC /scannow )
My system:
Windows 10 home, Intel i5-7600K CPU, NVIDIA GeForce GTX 1060 6GB GPU
I also know that the GPU has CUDA support and I used it in the past with different software (not recently though).
Matlab info
MATLAB Version: (R2019b) Update 3
MATLAB License Number: XXX
Operating System: Microsoft Windows 10 Home Version 10.0 (Build 18363)
Java Version: Java 1.8.0_202-b08 with Oracle Corporation Java HotSpot(TM) 64-Bit Server VM mixed mode
MATLAB Version 9.7 (R2019b)
Simulink Version 10.0 (R2019b)
Aerospace Blockset Version 4.2 (R2019b)
Aerospace Toolbox Version 3.2 (R2019b)
Curve Fitting Toolbox Version 3.5.10 (R2019b)
Database Toolbox Version 9.2 (R2019b)
Deep Learning Toolbox Version 13.0 (R2019b)
GPU Coder Version 1.4 (R2019b)
Global Optimization Toolbox Version 4.2 (R2019b)
Image Processing Toolbox Version 11.0 (R2019b)
MATLAB Coder Version 4.3 (R2019b)
MATLAB Compiler Version 7.1 (R2019b)
MATLAB Compiler SDK Version 6.7 (R2019b)
Optimization Toolbox Version 8.4 (R2019b)
Parallel Computing Toolbox Version 7.1 (R2019b)
Predictive Maintenance Toolbox Version 2.1 (R2019b)
Signal Processing Toolbox Version 8.3 (R2019b)
Statistics and Machine Learning Toolbox Version 11.6 (R2019b)
Symbolic Math Toolbox Version 8.4 (R2019b)
System Identification Toolbox Version 9.11 (R2019b)
Wavelet Toolbox Version 5.3 (R2019b)
I am not sure if that is a problem with Matlab, the graphics driver or windows.
Thank you.
Kind Regards
  댓글 수: 3
Alison Eele
Alison Eele 2020년 4월 14일
This could mean there is a corrupted file in your installation. Could you please contact our technical support and we'll be able to get you sorted.
Stephan Koschel
Stephan Koschel 2020년 4월 14일
@Walter Roberson:
I updated the driver this morning, around 12h ago. The driver before was older and was installed when I bought the desktop (2 years). I didn't make a difference
@Alison Eele:
I tried reinstallation of Matlab, first installing it over the current installation and then removing the old one first and installing it completely new. Did not make a difference.
I will contact the technical staff tomorrow. I was hoping it is a common problem with an easy solution.

댓글을 달려면 로그인하십시오.

답변 (0개)


Help CenterFile Exchange에서 Containers에 대해 자세히 알아보기




Community Treasure Hunt

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

Start Hunting!

Translated by