error mex compiler

1 view (last 30 days)
Nijan yogal
Nijan yogal on 3 Oct 2011
"The mex compiler '<unknown>' is not supported for simulation builds. Use 'mex -setup' to select a supported compiler." I have already installed Microsoft Visual Studio 2008 and Windows Software Development Kit (SDK) 6.1 but i still have same error. when i try to see mex compiler in command mode using mex setup as soon below it doesn't show any compiler. ">> 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: "
  1 Comment
Jan
Jan on 3 Oct 2011
Which Matlab version do you use, 32 or 64 bits?

Sign in to comment.

Answers (1)

Kaustubha Govind
Kaustubha Govind on 3 Oct 2011
Are you on 64-bit MATLAB? If yes, you may not have installed x64 compilers for Visual Studio. See Solution#1-6IJJ3L for additional installation instructions.

Categories

Find more on Introduction to Installation and Licensing in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!