I'm trying to use Matlab function. When I finish my simulation and click 'run' there is an error "Unable to locate a C-compiler required by Stateflow and MATLAB Function blocks. Use 'mex -setup' to select a supported C-compiler." I have no idea where is the 'mex-setup'. Could you fix that to me. Thanks in advance! Sorry with some mistakes in grammar. I'm not a native
MATLAB: Unable to locate a C-compiler required by Stateflow and MATLAB Function blocks. Use ‘mex -setup’ to select a supported C-compiler.
MATLAB and Simulink Student Suitemex -setup
Best Answer