Can not find the compiler when using simulink
이전 댓글 표시
Hi, I am using matlab2012b. I want to take the simulink xPC Target demo"xpccanpci" for a test, but when I build the model, the simulink will report an error as "An installed compiler was not detected. Certain simulation modes, as well as host-based coder builds require that a compiler be installed." but I think I have installed the compiler, when I type in the "mex -setup" in the command window for matlab, it will give a choice for compiler, and my installed compiler can be listed as: Select a compiler: [1] Lcc-win32 C 2.4.1 in C:\PROGRA~1\MATLAB\R2012b\sys\lcc [2] Microsoft Visual C++ 2010 in C:\Program Files\Microsoft Visual Studio 10.0 [3] Microsoft Visual C++ 2008 SP1 in C:\Program Files\Microsoft Visual Studio 9.0
[0] None
and I also restarted my matlab after choosing a compiler. I have tried the three compilers, but no use.
May I get some help about this problem? Thank you.
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Introduction to Installation and Licensing에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!