Does Matlab2019b support Visual Studio 2013 C++ compiler?

조회 수: 2 (최근 30일)
azad
azad 2019년 12월 17일
답변: Jason Ross 2019년 12월 18일
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?

답변 (1개)

Jason Ross
Jason Ross 2019년 12월 18일
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.

카테고리

Help CenterFile Exchange에서 Call C++ from MATLAB에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by