Typescript Loop Through String Array Matlab To Text