Unable to locate a C-compiler required by Stateflow and MATLAB Function blocks. Use 'mex -setup' to select a supported C-compiler.
1 次查看(过去 30 天)
显示 更早的评论
how can solve this issue with the compiler
I use a sine-wave source connected to embedded matlab function with same function input equal output then connected to the scope. easy model
when run this model i get error: Unable to locate a C-compiler required by Stateflow and MATLAB Function blocks. Use 'mex -setup' to select a supported C-compiler.
0 个评论
采纳的回答
A Jenkins
2014-2-19
You need to setup your compiler.
As the error suggests, go to to the MATLAB command line and type
mex -setup
4 个评论
Vincent Huneault
2015-2-13
Error using mex No supported compiler or SDK was found. For options, visit http://www.mathworks.com/support/compilers/R2014a/win64.
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 MATLAB Compiler SDK 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!