필터 지우기
필터 지우기

Unable to find cl.exe while l download matconvnet

조회 수: 6 (최근 30일)
hedva
hedva 2017년 4월 27일
답변: Lingling Ge 2018년 8월 13일
I have installed mingw4.9,2,but when I download matconvnet,I receive an error message like this.How should I do ???

답변 (2개)

Jan
Jan 2017년 4월 27일
편집: Jan 2017년 4월 27일
The first point in case of troubles is reading the documentation. See help vl_compilenn:
% Compilation on Windows with MinGW compiler (the default mex compiler in
% Matlab) is not supported. For Windows, please reconfigure mex to use
% Visual Studio C/C++ compiler.
The second step would to search in the forum or in the internet. You will find e.g.: Answers:unable-to-find-cl-exe-executing-vl_compilenn.
  댓글 수: 5
hedva
hedva 2017년 4월 27일
matlab2015b. mex cannot find VS compiler.I changed my VS to 2013.It still uses mingw.how should I do ?
Jan
Jan 2017년 4월 27일
@hedva: "Changed my VS to 2013" is vague only. The list of supported compilers mentions VS 2013 professional: https://www.mathworks.com/content/dam/mathworks/mathworks-dot-com/support/sysreq/files/SystemRequirements-Release2015b_SupportedCompilers.pdf . So please explain, if you mean the professional version or not.
I'd prefer the SDK7.1, although the installation is not trivial (see https://www.mathworks.com/matlabcentral/answers/?term=SDK7.1 ).
Please do not let the readers guess what you are doing. If you "have changed" the compiler, what does "it still uses mingw" mean? I cannot read the messages on your screen, so please post them.

댓글을 달려면 로그인하십시오.


Lingling Ge
Lingling Ge 2018년 8월 13일
I have met the same question as you in a Window environment. If you want to VS compiler, you would better remove the mingw. Because I found that the cl_path was always pointed to where mingw located. Then you'd better check environment variable to ensure that's right. If that doesn't work, you need to check that whether you have successfully installed the VS compiler. Because you are sure to find the cl.exe under ...\VC\bin\amd64 if you have. Finally, you can run vl_compilenn.m.

카테고리

Help CenterFile Exchange에서 MATLAB Support for MinGW-w64 C/C++ Compiler에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!