How to use 'mex -setup' to select a supported C-compiler?
Show older comments
when i start simulation error occur : (Unable to locate a C-compiler required by Stateflow and MATLAB Function blocks. Use 'mex -setup' to select a supported C-compiler)
Answers (1)
Azzi Abdelmalek
on 22 Apr 2016
Edited: Azzi Abdelmalek
on 22 Apr 2016
In Mtlab widows command type:
mex -setup
Depending on the Matlab version you are using, search in Google for this
Supported and Compatible Compilers – Release 2015a (or precise your version)
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!