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

7 Ansichten (letzte 30 Tage)
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

Akzeptierte Antwort

Kaustubha Govind
Kaustubha Govind am 1 Jun. 2012
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 Kommentare
Vijay Maddali
Vijay Maddali am 1 Sep. 2017
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.

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (3)

Ali
Ali am 23 Dez. 2014
I had the same problem and the solution works. Thank you.

Bill Wu
Bill Wu am 25 Dez. 2014
Where can I find an appnote for ltedownlinkexample?

emre
emre am 7 Jul. 2015
many thanks

Kategorien

Mehr zu Complex Logic finden Sie in Help Center und File Exchange

Tags

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by