c-compiler error to run file.

i have post this question before and do the steps by step but still unable to do it.
any 1 here having this problem before? i still got this error..
Unable to locate a C-compiler required by Stateflow and MATLAB Function blocks. Use 'mex -setup' to select a supported C-compiler.
i try mex setup but still the same : Welcome to mex -setup. This utility will help you set up a default compiler. For a list of supported compilers, see http://www.mathworks.com/support/compilers/R2012a/win64.html
Please choose your compiler for building MEX-files:
Would you like mex to locate installed compilers [y]/n? y
No supported SDK or compiler was found on this computer. For a list of supported compilers, see http://www.mathworks.com/support/compilers/R2012a/win64.html
Error using mex (line 206) Unable to complete successfully.

2 Comments

This maybe too cumbersome to do in this forum. You may want to contact Technical Support: http://www.mathworks.com/matlabcentral/answers/2495-when-shall-i-contact-mathworks-technical-support-and-how
oh its ok. i can run it after installing microsoft visual. tq

Sign in to comment.

Answers (0)

Categories

Asked:

on 5 Oct 2012

Community Treasure Hunt

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

Start Hunting!