Input from batch file

3 ビュー (過去 30 日間)
shaz
shaz 2012 年 11 月 19 日
i am running a matlab executable(a1.exe) from batch file(.bat file)
i need to pass input argument(I1,I2,I3) from batch file to matlab executable(a1.exe)
I1,I2,I3 are in string data type & defined in batch file(.bat file)
so how pass I1,I2,I3 to matlab executable which is called in .bat file

採用された回答

Jan
Jan 2012 年 11 月 19 日
編集済み: Jan 2012 年 11 月 19 日
What exactly does "I1,I2,I3 are in string data type" mean? Are you talking of Windows batch files?
Actually the answer could be:
a1 I1 I2 I3
or
a1 %I1% %I2% %I3%

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeEnvironment and Settings についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by