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)

Respuestas (1)

Categorías

Más información sobre Third-Party Cluster Configuration en Centro de ayuda y File Exchange.

Etiquetas

Preguntada:

el 21 de Jul. de 2017

Respondida:

dpb
el 21 de Jul. de 2017

Community Treasure Hunt

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

Start Hunting!

Translated by