Make Error - Simulink/Stateflow

조회 수: 2 (최근 30일)
Michael
Michael 2013년 1월 30일
답변: Prabhudatta Das 2014년 9월 23일
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