'name.bat' is not recognized as an internal or external command, operable program or batch file in matlab

조회 수: 7 (최근 30일)
hi when i am trying to run a stateflow model of name"test.mdl" i am getting an error
Making simulation target "test_sfun", ...
'test_sfun.bat' is not recognized as an internal or external command, operable program or batch file. i am using wndows 7 64 bit os and matlab R2012a
i installed windows sdk 7.1 also. please help me for this

채택된 답변

Kaustubha Govind
Kaustubha Govind 2012년 6월 1일
Have you run "mex -setup" on your R2012a installation? I have run into a similar issue in the past, and running "mex -setup" fixed it for me.
  댓글 수: 6
Vijay Maddali
Vijay Maddali 2017년 9월 1일
After I sent the question, I stumbled upon the same solution. Yes, mex -setup is what needs to be done to select the compiler which is what is needed to fix the problem. Thanks.

댓글을 달려면 로그인하십시오.

추가 답변 (3개)

Ali
Ali 2014년 12월 23일
I had the same problem and the solution works. Thank you.

Bill Wu
Bill Wu 2014년 12월 25일
Where can I find an appnote for ltedownlinkexample?

emre
emre 2015년 7월 7일
many thanks

카테고리

Help CenterFile Exchange에서 Complex Logic에 대해 자세히 알아보기

태그

제품

Community Treasure Hunt

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

Start Hunting!

Translated by