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

"x is not recognized as an internal or external command, operable program or batch file"

Asked by Cenk OZAN on 17 Jan 2012

I wrote my algorithm's code in MATLAB 2009a. In my code, I call external software whose name is DynusT. In my laptop whose operating system is Vista, there is no problem, however in another pc whose operating system is windows 7, Matlab give an error as "DynusT is not recognized as an internal or external command, operable program or batch file". How can I solve this problem? Please I need help, thank you interest... Cenk

0 Comments

Cenk OZAN

Tags

Products

No products are associated with this question.

1 Answer

Answer by Titus Edelhofer on 17 Jan 2012
Accepted answer

Hi Cenk,

it might be the case that DynusT is not on the system path. If you open a Command Window in Windows (Windows Button, enter "cmd") and try to run DynusT there, do you get the same error message?

In this case: System configuration->System->Extended configuration->Environment variables, add the path to DynusT to the PATH variable.

Titus

2 Comments

Cenk OZAN on 17 Jan 2012

Thank you very much for your interest, it works..:)

Nurul Mohd on 16 Jan 2013

Hi there,

I've got this problem too but it can't be solved. I use Matlab 2006b with software NetCon. when I tried to connect with external hardware through ADC/DAC to NetCon, 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

Titus Edelhofer

Contact us