MATLAB: System cannot execute the specified program

r2012asimulinkversion

Hi every one, I updated the matlab to a 2012a version, and just build a simple model in simulink with a matlab function in it. and it gave the error as title said. is everyone here know whats going on?
Thank you.
Jingbo

Best Answer

Probably it has something to do with the C compiler.
First configure your compiler using below command:
mex -setup
Hope it helps!!!