MATLAB Answers

shankar

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

Asked by shankar
on 1 Jun 2012
Latest activity Commented on by Milad Abdollahi on 16 Jul 2015 at 8:45

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

  0 Comments

Tags

Products

4 Answers

Answer by Kaustubha Govind
on 1 Jun 2012
 Accepted answer

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.

  4 Comments

Kaustubha Govind
on 23 Jul 2013

It's a MATLAB command. Just run "mex -setup" (without the quotes) at the MATLAB prompt.

ROHIT RAMTEKE
on 25 Aug 2013

Thank you very much.....its really rocking in my model.

Milad Abdollahi on 16 Jul 2015 at 8:45

Tnx it's very simple & helpful


Answer by Ali
on 23 Dec 2014

I had the same problem and the solution works. Thank you.

  0 Comments


Answer by Bill Wu
on 25 Dec 2014

Where can I find an appnote for ltedownlinkexample?

  1 Comment

PREMANAND
on 9 Feb 2015

Thank you very much.


Answer by emre
on 7 Jul 2015 at 6:42

many thanks

  0 Comments


Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply today