system cannot execute the specified program

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

 Accepted Answer

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

2 Comments

Thank you! I changed the folder path, and it works fine now.

Sign in to comment.

More Answers (0)

Categories

Find more on Simulink in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!