필터 지우기
필터 지우기

The mex compiler '<unknown>' is not supported for simulation builds. Use 'mex -setup' to select a supported compiler."

조회 수: 1 (최근 30일)
I am running R2009a with Windows 7(64 bit). I have installed MS visual c++ 2010 express and microsoft SDK for window7 (7.1). When I ran "mex -setup" it dosen't find any compiler. error while running my simulink file "The mex compiler '<unknown>' is not supported for simulation builds. Use 'mex -setup' to select a supported compiler."
when i try to see mex setup after installation of MS visual c++ 2010 express and microsoft SDK for window7 (7.1), i see following: >> mex -setup Please choose your compiler for building external interface (MEX) files:
Would you like mex to locate installed compilers [y]/n? y
Select a compiler:
[0] None
Compiler: 3 Please select from 0-0 Compiler: 0
mex: No compiler selected. No action taken.
Can anyone help?

답변 (2개)

Pawel Blaszczyk
Pawel Blaszczyk 2011년 10월 3일
Maltab R2009 doesn't know about VC++ 2010 - use older compiler, or ML R2010 or R2011

Jan
Jan 2011년 10월 3일
It is enough to install the MS-SDK7.0 to compile MEX files under 2009a.

카테고리

Help CenterFile Exchange에서 Troubleshooting in MATLAB Compiler SDK에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by