inputs are placed in inputs/testA/varB/fileC
to create list of inputs:
find inputs -type f > fileindex.txt
matlab script reads script_index line in fileindex.txt
slurm script creates an aray of a lot of jobs (change the array ranges if you want to test) and submits them.
To submit:
sbatch run-array.slurm