Unable to locate a C-compiler required by Stateflow and MATLAB Function blocks. Use 'mex -setup' to select a supported C-compiler.

2 次查看(过去 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.

采纳的回答

A Jenkins
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
For more information: Selecting a Compiler
  4 个评论

请先登录,再进行评论。

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 MATLAB Compiler 的更多信息

标签

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by