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 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