MATLAB Answers

Does Matlab2019b support Visual Studio 2013 C++ compiler?

23 views (last 30 days)
azad
azad on 17 Dec 2019
Answered: Jason Ross on 18 Dec 2019
I have matlab code that requires interfacing with NVIDIA GPU and CUDA toolkit. This requires the Visual Studio 2013 C++ compiler. Does Matlab 2019b work with the Visual Studio 2013 C++ compiler? How do I setup Matlab to use this compiler?

  0 Comments

Sign in to comment.

Answers (1)

Jason Ross
Jason Ross on 18 Dec 2019
The last release to support Visual Studio 2013 was 2018a (see : supported compilers for past releases).
As for setting up the compiler, CUDA toolkit, and using it -- you do that with mex and mexcuda. Check the Tips section of the mexcuda documentation for getting the proper dependencies and versions of the CUDA toolkit set up.
In terms of getting your current setup to work, you might be able to get it to work, but it's also highly possible that there are dependencies that will be missing/unsatisfied in the older versions, especially since you have the compiler version, CUDA toolkit version, and MATLAB version all at versions that have not been tested together in any way.

  0 Comments

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!

Translated by