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 (view profile)

on 1 Jun 2012
Latest activity Commented on by PREMANAND

PREMANAND (view profile)

on 9 Feb 2015

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 (view profile)

Tags

Products

3 Answers

Answer by Kaustubha Govind

Kaustubha Govind (view profile)

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 (view profile)

on 22 Jul 2013

Hello,

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

Kaustubha Govind

Kaustubha Govind (view profile)

on 23 Jul 2013

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

ROHIT RAMTEKE

ROHIT RAMTEKE (view profile)

on 25 Aug 2013

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

Kaustubha Govind

Kaustubha Govind (view profile)

Answer by Ali

Ali (view profile)

on 23 Dec 2014

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

0 Comments

Ali

Ali (view profile)

Answer by Bill Wu

Bill Wu (view profile)

on 25 Dec 2014

Where can I find an appnote for ltedownlinkexample?

1 Comment

PREMANAND

PREMANAND (view profile)

on 9 Feb 2015

Thank you very much.

Bill Wu

Bill Wu (view profile)

Contact us