Make Error - Simulink/Stateflow

2 次查看(过去 30 天)
Michael
Michael 2013-1-30
Hi Guys, recently something on my computer must have changed because I have been able to previously compile stateflow based simulations properly. However now I am getting a Make Error on Simulink..
Making simulation target "Test2_sfun", ...
The system cannot find the path specified. The system cannot find the path specified. 'Test2_sfun.bat' is not recognized as an internal or external command, operable program or batch file.
Any help would be great!
  1 个评论
Kaustubha Govind
Kaustubha Govind 2013-1-30
Try running "mex -setup", select a supported compiler and retry.

请先登录,再进行评论。

回答(1 个)

Prabhudatta Das
Prabhudatta Das 2014-9-23
Yeah install your c++ compiler. Even I had the same problem in Matlab 2012a. I referred to Matlab for compatible compilers for this particular version. And installed microsoft SDK 7.1 with Visual Studio 10.0. Then after installation, type mex-setup in command window. Matlab will look for all the compilers in your system. and will get in sync with your Matlab.
If u aint looking for all this pain, install a 32 bit Matlab software and it comes wid in-bulit compilers.
Cheers!!

类别

Help CenterFile Exchange 中查找有关 Introduction to Installation and Licensing 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by