필터 지우기
필터 지우기

matlab 2021b cant find microsoft visual compiler from vs 2019

조회 수: 18 (최근 30일)
Youssef Elshebani
Youssef Elshebani 2022년 6월 23일
답변: Rishav 2023년 10월 9일
I saw this is a deep rooted problem with matlab since the 2015 days
I am trying to add the microsoft visual C++ compiler, but matlab can't see it.
i tried installing hte compiler no success, i tried installing microsoft visual studio 2019 (the version that is supposed to be supported from mathworks release notes) still no success, it just tells me it cant find the microsoft visual compiler when i trype in mex -setup -v
help please

답변 (1개)

Rishav
Rishav 2023년 10월 9일
Hi Youssef,
I understand that you are facing issues with detecting Visual Studio 2019 using MATLAB R2021b command line.
Uninstall all the versions of Visual studio from your machine. Then download the Visual Studio 2019 from the below mentioned link:
Then run the following command in MATLAB terminal.
>> mex -setup
It should automatically detect the Visual Studio C++ compiler for you and it will also set it if one compiler is installed.
Thank you,
Rishav Saha

카테고리

Help CenterFile Exchange에서 C Shared Library Integration에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by