I am using MATLAB R2018a with GPU Coder. I have installed Visual Studio 2017 and CUDA 9.0, both of which are supported. When I try to compile any GPU Coder code, or run coder.checkGpuInstall('full'), I receive the following compiler error in a header, host_config.h:
ERROR: Error C1189 #error: -- unsupported Microsoft Visual Studio version! Only the versions 2012, 2013, 2015 and 2017 are supported!
What is going on?
Best Answer