'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 Nurul Mohd on 17 Jan 2013

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

Tags

Products

3 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.

0 Comments

Kaustubha Govind
Answer by Sven on 28 Jun 2012

Great thats the solution. Thanks

0 Comments

Sven
Answer by Nurul Mohd on 16 Jan 2013

Hi guys, I've got this problem too but it can't be solved. I use Matlab 2006b. when I tried to connect with external hardware through ADC/DAC, the error is

'make' is not recognized as an internal or external command, operable program or batch file. ###Real-time Workshop build procedure for model: ' ' aborted due to an error.

I've run the mex -setup, [1] Lcc C version 2.4.1 in C:\MATLAB~2\2006b\sys\lcc [2] Microsoft Visual C/C++ version 6.0 in C:\Program Files|Microsoft Visual Studio

and I choose [2]. But it still didn't work for me.

I still using this old Matlab version because my supervisor want me to do so because this version we have custom toolbox made by his former student.

Please, I really stuck with this for 2 days.

Thanks in advanced!

Nurul

2 Comments

Kaustubha Govind on 16 Jan 2013

Nurul: This is an unrelated issue since you are not using a Stateflow chart. Please create a new question.

Nurul Mohd on 17 Jan 2013

Ouh sorry..I've created my questions in other page. Thanks.

Nurul Mohd

Contact us