I am getting the below mentioned problem when I am simulating "Unable to locate a C-compiler required by Stateflow and MATLAB Function blocks. Use 'mex -setup' to select a supported C-compiler."
Show older comments
I am getting the below mentioned problem when I am simulating "Unable to locate a C-compiler required by Stateflow and MATLAB Function blocks. Use 'mex -setup' to select a supported C-compiler."
Accepted Answer
More Answers (1)
Alexander
on 6 Feb 2014
0 votes
If you run "mex -setup" from the matlab command line it should give you the option to specify a compiler, if you have one. If you don't already have one installed, you can download and install the Microsoft SDK or Visual C++ express.
Categories
Find more on MATLAB Compiler 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!