Info

This question is closed. Reopen it to edit or answer.

I have had an issue in MATLAB 2013a.

1 view (last 30 days)
Nhat Minh Nhat
Nhat Minh Nhat on 7 Jun 2014
Closed: MATLAB Answer Bot on 20 Aug 2021
The system notices:"Unable to locate a C-compiler required by Stateflow and MATLAB Function blocks. Use 'mex -setup' to select a supported C-compiler."
  1 Comment
Henric Rydén
Henric Rydén on 9 Jun 2014
Have you tried mex-setup?

Answers (1)

Madhura Suresh
Madhura Suresh on 16 Jun 2014
Are you using a supported compiler for R2013a?
After you install a supported compiler, run:
>>mbuild -setup to pick your compiler, and then proceed.

Community Treasure Hunt

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

Start Hunting!

Translated by