Basic Code Generation Failed when I run the command : coder.checkGpuInstall

Hi, I am having a problem in basic code generation using NVIDIA CUDA. I have specified 3rd party requirements using setenv() command. I have changed the default c/c++ compiler to Microsoft Visual Studio 2022.
But when I am running the tests everything seems to pass except Basic Code Generation and fails with the error, "emlc:compilationError".
I've included screenshots of the problem; kindly help me in resolving this. Thank you very much!
Setting up the prerequisites (specific to my requirement) : https://www.mathworks.com/help/gpucoder/gs/setting-up-the-toolchain.html

 채택된 답변

Walter Roberson
Walter Roberson 2022년 6월 19일
GPU Coder needs VS 2019 for r2022a, and does not support VS 2022 for R2022a

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Get Started with GPU Coder에 대해 자세히 알아보기

질문:

2022년 6월 19일

답변:

2022년 6월 19일

Community Treasure Hunt

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

Start Hunting!

Translated by