How can I solve the compiler issue in matlab?
10 views (last 30 days)
Show older comments
AKHIL NATH
on 13 Sep 2015
Edited: Walter Roberson
on 14 Sep 2015
I am using matlab R2013a 64-bit version in windows 8.1. When i tried to simulate .m file,i got an error.The error is "Unable to locate a C-compiler required by Stateflow and MATLAB Function blocks. Use 'mex -setup' to select a supported C-compiler".How can i solve this?
0 Comments
Accepted Answer
Walter Roberson
on 13 Sep 2015
You read http://www.mathworks.com/support/compilers/R2013a/index.html?sec=win64 and install SDK7.1 and NET 4.0, or you install Microsoft Visual C++ 2012 Professional, or you install Microsoft Visual C++ 2010 Professional SP1, or you install Microsoft Visual C++ 2008 Professional SP1 and Windows SDK 6.1. And then after you install one of those you run
mex -setup
3 Comments
More Answers (0)
See Also
Categories
Find more on Troubleshooting in MATLAB Compiler SDK 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!