Do I need a C-cpmplier?

1 view (last 30 days)
Dong ZHANG on 5 Feb 2015
Commented: Dong ZHANG on 5 Feb 2015
i got this message when i was trying to run my simulink/stateflow models "Unable to locate a C-compiler required by Stateflow and MATLAB Function blocks. Use 'mex -setup' to select a supported C-compiler." what can i do to solve this problem?

Accepted Answer

Julia on 5 Feb 2015
Did you type mex -setup in your command window?
If Matlab does not find a compiler, you need to install one.
Here are two useful links:
  1 Comment
Dong ZHANG on 5 Feb 2015
Thanks a lot

Sign in to comment.

More Answers (0)


Find more on Complex Logic 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!