Retrieving variable declared in batch file, into MATLAB

1 Ansicht (letzte 30 Tage)
carlos g
carlos g am 21 Jul. 2017
Beantwortet: dpb am 21 Jul. 2017
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)

Antworten (1)

dpb
dpb am 21 Jul. 2017
Already answered in your NG thread <view_thread/349153>

Kategorien

Mehr zu Third-Party Cluster Configuration finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by