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

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

 採用された回答

Titus Edelhofer
Titus Edelhofer 2012 年 1 月 17 日

2 投票

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

4 件のコメント

Cenk OZAN
Cenk OZAN 2012 年 1 月 17 日
Thank you very much for your interest, it works..:)
Nurul Mohd
Nurul Mohd 2013 年 1 月 16 日
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
Javier Naranjo
Javier Naranjo 2017 年 10 月 29 日
I add the path (system and user) to the folder where the executble is stored and it does not work.
Any idea?
Thomas
Thomas 2018 年 1 月 4 日
I have the same problem with 2017b but it works in 2017a!

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeStartup and Shutdown についてさらに検索

タグ

質問済み:

2012 年 1 月 17 日

コメント済み:

2018 年 1 月 4 日

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by