Matlab Simulink
1 view (last 30 days)
Show older comments
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
0 Comments
Accepted Answer
Kaustubha Govind
on 24 Jan 2012
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
More Answers (1)
See Also
Categories
Find more on Simulink Coder 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!