Retrieving variable declared in batch file, into MATLAB

3 次查看(过去 30 天)
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
Already answered in your NG thread <view_thread/349153>

类别

Help CenterFile Exchange 中查找有关 Cluster Configuration 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by