I have had an issue in MATLAB 2013a.

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."

Answers (1)

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

This question is closed.

Asked:

on 7 Jun 2014

Closed:

on 20 Aug 2021

Community Treasure Hunt

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

Start Hunting!