error associated with "errorlevel 1"

1 回表示 (過去 30 日間)
Ayman Mohamed
Ayman Mohamed 2015 年 6 月 30 日
コメント済み: Ayman Mohamed 2015 年 7 月 2 日
Could anyone explain the error associated with "errorlevel 1" when matlab R2013b is executed by batch file?

回答 (1 件)

Nalini Vishnoi
Nalini Vishnoi 2015 年 7 月 2 日
Hi Ayman,
Please provide more details about the error and what were you executing when you got the error. This error might has something to do with wrong batch parameter setting.
Nalini
  1 件のコメント
Ayman Mohamed
Ayman Mohamed 2015 年 7 月 2 日
Hi Nalini,
we have our own optimizer program, so, we execute matlab simultaneously based on the threads (cores). We use this command in batch file to execute matlab:
start /D%thread_work_directory% /WAIT /MIN matlab -r file_name -nojvm -nosplash -minimize -wait
However, inside the matlab file, another program is executed. After it finish, matlab can read and write its outputs in certain format to be readable for the optimizer. I am not the author of the optimizer. The optimizer was design to print out the success of each run by reading "errorlevel". when the run is executed successfully, it returns "0". Sometimes, it is stopped ,to continue, I have to end-task matalb manually from windows task manager then it returned "1". I have not noticed any error from program executed by matlab. So, we would like to know what does errorlevel 1 mean for matlab as long as its interpretation varies from program to another. Thanks!
Ayman

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

カテゴリ

Help Center および File ExchangeData Import and Analysis についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by