MATLAB: Matlab Simulink

simulink

Hi guys,
i have problem with simulink as when i run my simulink model the message comes up on matlab: (Unable to locate a C-compiler required by Stateflow and MATLAB Function blocks. Use 'mex -setup' to select a supported C-compiler.)
just to know it works fine in other computer
any idea plz
Thanks and Regards
Magdi

Best Answer

Run "mex -setup" and select a supported compiler that Simulink can use. Then run the model again. Also, ensure that you have already installed a supported compiler. Find the list of supported compilers for each release here: http://www.mathworks.com/support/sysreq/previous_releases.html
Related Question