error in c-compiler
1 次查看(过去 30 天)
显示 更早的评论
hi how can i resolve this error:
Unable to locate a C-compiler required by Stateflow and MATLAB Function blocks. Use 'mex -setup' to select a supported C-compiler.
0 个评论
回答(2 个)
James Tursa
2015-4-22
Type the following at the command line. When asked if you want MATLAB to look for compilers, press Enter:
mex -setup
If there is a C compiler choice available, select it. If there is no C compiler choice available, then you will have to install one yourself. To see what compilers are supported you can start with this link:
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Software Development Tools 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!