<code> a = ['h' 'c' 'h' 'c'] csvwrite('test', a) </code> produces a file with: "104,99,104,99" while not incorrect, it breaks compatibility with matlab, which writes "h,c,h,c" to the file. Thanks