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)

类别

帮助中心File Exchange 中查找有关 Third-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