How can I solve the issue related to matlab compiler?
1 次查看(过去 30 天)
显示 更早的评论
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 个评论
回答(3 个)
Steven Lord
2015-9-13
What happened when you tried using "mex -setup" as the error message suggests?
0 个评论
Walter Roberson
2015-9-13
You need some special steps to install SDK 7.1 on Windows 8. See https://support.microsoft.com/en-us/kb/2717426
0 个评论
Chetan Rawal
2015-9-13
Akhil,
As the error suggests, you need to install a C-compiler to use some products. This is not installed by default. Try installing a free "mcc compiler" (google for it to download and install). Then use the "mex -setup" command in MATLAB to connect your newly installed Compiler to MATLAB. This should fix the issues you're facing.
Chetan
1 个评论
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!