Shell Script Loop Through Array Matlab Drive