Retrieving variable declared in batch file, into MATLAB

I am trying to pass a variable defined in a batch file to matlab (I am running a MATLAB job launched from SLURM). How can I do this?
For example, a variable "a" taking different values from 1 to 10 in a loop. How can I do that? (boths sides: loop in batch+retrieving the variable in MATLAB)

回答 (1 件)

dpb
dpb 2017 年 7 月 21 日

0 投票

Already answered in your NG thread <view_thread/349153>

カテゴリ

ヘルプ センター および File ExchangeThird-Party Cluster Configuration についてさらに検索

タグ

質問済み:

2017 年 7 月 21 日

回答済み:

dpb
2017 年 7 月 21 日

Community Treasure Hunt

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

Start Hunting!

Translated by