Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

New to MATLAB?

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

Asked by shankar

shankar

on 1 Jun 2012
Latest activity Answered by Bill Wu

Bill Wu

on 25 Dec 2014

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

shankar

shankar

Tags

Products

3 Answers

Answer by Kaustubha Govind

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.

3 Comments

naveen

naveen

on 22 Jul 2013

Hello,

Mex-Setup! where can I find this installation file. Please help me...

Kaustubha Govind

Kaustubha Govind

on 23 Jul 2013

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

ROHIT RAMTEKE

ROHIT RAMTEKE

on 25 Aug 2013

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

Kaustubha Govind

Kaustubha Govind

Answer by Ali

Ali

on 23 Dec 2014

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

0 Comments

Ali

Ali

Answer by Bill Wu

Bill Wu

on 25 Dec 2014

Where can I find an appnote for ltedownlinkexample?

0 Comments

Bill Wu

Bill Wu

Contact us